kvarn::application

Enum ResponseBodyPipe

source
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(())

Variants§

§

Http1(Arc<Mutex<Encryption>>)

HTTP/1 pipe

§

Http2(SendStream<Bytes>, H2SendResponse)

Available o