Module wasmtime_wasi_http::bindings::http::types
source · Re-exports§
pub use super::super::super::__with_name0 as Fields;
pub use super::super::super::__with_name4 as IncomingRequest;
pub use super::super::super::__with_name7 as OutgoingRequest;
pub use super::super::super::__with_name9 as RequestOptions;
pub use super::super::super::__with_name10 as ResponseOutparam;
pub use super::super::super::__with_name5 as IncomingResponse;
pub use super::super::super::__with_name3 as IncomingBody;
pub use super::super::super::__with_name2 as FutureTrailers;
pub use super::super::super::__with_name8 as OutgoingResponse;
pub use super::super::super::__with_name6 as OutgoingBody;
pub use super::super::super::__with_name1 as FutureIncomingResponse;
Structs§
- Defines the case payload type for
DNS-error
above: - Defines the case payload type for
HTTP-response-{header,trailer}-size
above: - 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
- 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.