Function kvarn::prelude::internals::write::request

source ·
pub async fn request<T>(
    request: &Request<T>,
    body: &[u8],
    writer: impl AsyncWrite + Unpin
) -> Result<(), Error>
Expand description

writer should be buffered.

§Errors

Passes any errors from writing to writer.