Module wasmcloud_runtime::capability::http::types
source · Structs§
- Defines the case payload type for
DNS-error
above: - Defines the case payload type for
HTTP-response-{header,trailer}-size
above: - The concrete type behind a
was:http/types/incoming-body
resource. - 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-body
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. - Defines the case payload type for
TLS-alert-received
above:
Enums§
- 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
- The concrete type behind a
wasi:http/types/fields
resource. - The concrete type behind a
wasi:http/types/future-incoming-response
resource. - The concrete type behind a
wasi:http/types/future-trailers
resource. - This type enumerates the different kinds of errors that may occur when setting or appending to a
fields
resource. - This type corresponds to HTTP standard Methods.
- This type corresponds to HTTP standard Related Schemes.
Traits§
Functions§
Type Aliases§
- Field keys are always strings.
- Field values should always be ASCII strings. However, in reality, HTTP implementations often have to interpret malformed values, so they are provided as a list of bytes.
- Headers is an alias for Fields.
- This type corresponds to the HTTP standard Status Code.
- Trailers is an alias for Fields.