pub enum ConnectionResponse {
Whole(Response<Bytes>),
Partial {
len: Option<u64>,
response: Response<Bytes>,
},
}Available on crate feature
reverse-proxy only.Variants§
Whole(Response<Bytes>)
Partial
First part of body is in [Response::body], the remaining, len - response.body().len()
bytes, are readable from the EstablishedConnection. If the transfer-encoding is
chunked, the [Response::body] is also chunked so you can just continue relaying the data.