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. - Http1
Acceptor - Type wrapper used by
HttpPeekRouter::new_http1
to only serve http/1x, and send h2 to the fallback. - Http
Auto Acceptor - Type wrapper used by
HttpPeekRouter::new
to serve http/1x and h2 with a single service. - Http
Dual Acceptor - Type wrapper used by
HttpPeekRouter::new_dual
to serve http/1x and h2 separately. - Http
Peek Router - A
Service
router 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 PeekStream
alias used byHttpPeekRouter
.