pub enum ResponseBodyPipe {
Http1(Arc<Mutex<Encryption>>),
Http2(SendStream<Bytes>, H2SendResponse),
Http3(RequestStream<SendStream<Bytes>, Bytes>),
}
Expand description
A pipe to send a body after the Response
is sent by
ResponsePipe::send_response
.
The AsyncWriteExt::shutdown
does nothing, and will immediately return with Ok(())