pub enum ResponsePipe {
Http1(Arc<Mutex<Encryption>>),
Http2(SendResponse<Bytes>),
Http3(Box<RequestStream<SendStream<Bytes>, Bytes>>),
}Expand description
A pipe to send a Response through.
You may also push requests if the pipe is ResponsePipe::Http2
by calling ResponseBodyPipe::push_request. after you call ResponsePipe::send_response.