Crate spin_factor_outbound_http

Crate spin_factor_outbound_http 

Source

Modules§

intercept
runtime_config
wasi_2023_10_18

Structs§

AppState
InstanceState
OutboundHttpFactor
OutgoingRequestConfig
Configuration for an outgoing request.
SelfRequestOrigin
SelfRequestOrigin indicates the base URI to use for “self” requests.

Enums§

ErrorCode
These cases are inspired by the IANA HTTP Proxy Error Types: https://www.iana.org/assignments/http-proxy-status/http-proxy-status.xhtml#table-http-proxy-error-types
HostFutureIncomingResponse
The concrete type behind a wasi:http/types/future-incoming-response resource.

Functions§

p2_to_p3_error_code
p3_to_p2_error_code

Type Aliases§

HttpResult
A Result type where the error type defaults to HttpError.
HyperOutgoingBody
Common type for outgoing bodies.
Request
Response