Module peek

Expand description

types and logic for HttpPeekRouter

Structs§

H2Acceptor
Type wrapper used by HttpPeekRouter::new_h2 to only serve h2, and send http/1x to the fallback.
Http1Acceptor
Type wrapper used by HttpPeekRouter::new_http1 to only serve http/1x, and send h2 to the fallback.
HttpAutoAcceptor
Type wrapper used by HttpPeekRouter::new to serve http/1x and h2 with a single service.
HttpDualAcceptor
Type wrapper used by HttpPeekRouter::new_dual to serve http/1x and h2 separately.
HttpPeekRouter
A Service router that can be used to support http/1x and h2 traffic as well as non-tls traffic.
NoHttpRejectError
non-http connection is rejected

Type Aliases§

HttpPeekStream
PeekStream alias used by HttpPeekRouter.