Function observe_request
pub fn observe_request<B, R, E, F, Fut>(
name: &'static str,
request: Request<B>,
serve: F,
) -> impl Future<Output = Result<Response, E>>Available on crate features
dial9 and http and std only.Expand description
Shared request boundary for protocol adapters. Response byte totals count data yielded to the consumer, not bytes acknowledged by the peer. HTTP error status codes are recorded separately from transport/body failures.