Expand description
Outbound HTTP client contract.
Structs§
- Client
Request - Outbound HTTP request (apps build this; clients send it).
- Client
Response - Outbound HTTP response.
- Http
Client Service - Newtype so client trait objects can be stored in the container.
- Mock
Http Client - In-memory
HttpClientthat returns scripted responses. - Register
Default Http Client Pass - Seeds
DEFAULT_HTTP_CLIENT_SERVICEwith acrate::ReqwestHttpClientwhen missing. - Reqwest
Http Client - Production
HttpClientusing reqwest + rustls.
Enums§
- Client
Method - HTTP method for
ClientRequest. - Http
Client Error - Failure while building or sending an outbound request.
Constants§
- DEFAULT_
HTTP_ CLIENT_ SERVICE - Container id of the default outbound client when registered by the pass.
- HTTP_
CLIENT_ TAG - Service tag applied to outbound HTTP client definitions.
Traits§
- DynHttp
Client - Object-safe sibling of
HttpClientfor container storage. - Http
Client - Outbound HTTP client (Symfony
HttpClientInterfaceanalogue).