Expand description
The ConnectInfo
struct is included in http::Request
s when
IntoMakeServiceWithConnectInfo
is used. ConnectInfo
’s
FromParts
implementation allows it to be extracted from the http::Request
.
The example service
illustrates the use of IntoMakeServiceWithConnectInfo
and ConnectInfo
with a service builder.
Structs§
- Connect
Info - Extractor for getting connection information produced by a
Connected
. - Missing
Connect Info - The
ConnectInfo
was not found in thehttp::Request
extensions.