Module connect_info

Module connect_info 

Source
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§

ConnectInfo
Extractor for getting connection information produced by a Connected.
MissingConnectInfo
The ConnectInfo was not found in the [http::Request] extensions.