pub async fn request<T>( request: &Request<T>, body: &[u8], writer: impl AsyncWrite + Unpin ) -> impl Future<Output = Result<(), Error>>
writer should be buffered.
writer
Passes any errors from writing to writer.