Skip to main content

Module upgrade

Module upgrade 

Available on crate features http and std only.
Expand description

middleware to handle branching into http upgrade services

See UpgradeService for more details.

Modules§

mitm
service
upgrade service to handle branching into http upgrade services

Structs§

EagerHttpProxyConnector
HTTP proxy CONNECT service which establishes the egress connection before acknowledging the CONNECT request.
HttpProxyConnectRelayServiceRequestMatcher
Default matcher that can be used for Http proxy connects.
HttpProxyConnectRelayServiceResponseMatcher
Created by HttpProxyConnectRelayServiceRequestMatcher for a valid http proxy connect request match, this response matcher half ensures the returned status code is successfull.
LazyHttpProxyConnectReplyService
A lazy Service which acknowledges an HTTP (proxy) CONNECT request without first establishing the egress connection.
UpgradeLayer
UpgradeLayer is a middleware that can be used to upgrade a request.
UpgradeOutput
Complete output of a service registered with UpgradeLayer::new.
UpgradeResponse
Handshake response produced by the responder in a UpgradeLayer::new_with_services configuration.
UpgradeService
Upgrade service can be used to handle the possibility of upgrading a request, after which it will pass down the transport RW to the attached upgrade service.
Upgraded
An upgraded HTTP connection.