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

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

writer should be buffered.

Errors

Passes any errors from writing to writer.