Module wasmtime_wasi_http::types
source · Expand description
Implements the base structure (i.e. WasiHttpCtx) that will provide the implementation of the wasi-http API.
Structs§
- The concrete type behind a
wasi:http/types/incoming-request
resource. - The concrete type behind a
wasi:http/types/incoming-response
resource. - The concrete type behind a
wasi:http/types/outgoing-request
resource. - The concrete type behind a
wasi:http/types/outgoing-response
resource. - The concrete type behind a
wasi:http/types/request-options
resource. - The concrete type behind a
wasi:http/types/response-outparam
resource. - A response that is in the process of being received.
- Configuration for an outgoing request.
- Capture the state necessary for use in the wasi-http API implementation.
- A concrete structure that all generated
Host
traits are implemented for.
Enums§
- The concrete type behind a
wasi:http/types/fields
resource. - The concrete type behind a
wasi:http/types/future-incoming-response
resource.
Traits§
- A trait which provides internal WASI HTTP state.
Functions§
- The default implementation of how an outgoing request is sent.
- The underlying implementation of how an outgoing request is sent. This should likely be spawned in a task.
Type Aliases§
- An owned version of
HostFields
- A handle to a future incoming response.