pub enum PushedResponsePipe {
Http2(SendPushedResponse<Bytes>),
}
Expand description
A ResponsePipe
-like for a pushed request-response pair.
The only logic difference between this and ResponsePipe
is the
lack of a push_request
method. If you want to push more than one request,
use the same method on ResponsePipe
more times.
Variants§
Http2(SendPushedResponse<Bytes>)
Available on crate feature
http2
only.A HTTP/2 pushed response pipe.
This is the only variant for now, but as HTTP/3
is implemented, a Http3
variant will be added.