Module peek
Expand description
types and logic for HttpPeekRouter
Structs§
- H2Acceptor
- Type wrapper used by
HttpPeekRouter::new_h2to only serve h2, and send http/1x to the fallback. - Http1
Acceptor - Type wrapper used by
HttpPeekRouter::new_http1to only serve http/1x, and send h2 to the fallback. - Http
Auto Acceptor - Type wrapper used by
HttpPeekRouter::newto serve http/1x and h2 with a single service. - Http
Dual Acceptor - Type wrapper used by
HttpPeekRouter::new_dualto serve http/1x and h2 separately. - Http
Peek Router - A
Servicerouter that can be used to support http/1x and h2 traffic as well as non-tls traffic. - NoHttp
Reject Error - non-http connection is rejected
Type Aliases§
- Http
Peek Stream PeekStreamalias used byHttpPeekRouter.