kvarn::prelude::fs::writeFunction 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
.