Crate wrpc_interface_http

Crate wrpc_interface_http 

Source

Modules§

bindings

Structs§

HttpBody
ServeHttp
ServeWasmtime

Enums§

HttpBodyError

Traits§

InvokeIncomingHandler
InvokeOutgoingHandler
ServeIncomingHandlerHttp
ServeIncomingHandlerWasmtime
ServeOutgoingHandlerHttp

Functions§

split_http_body
split_outgoing_http_body
try_fields_to_header_map
try_header_map_to_fields
try_http_to_request
Attempt converting http::Request to [Request]. Values of path_with_query, scheme and authority will be taken from the request URI
try_http_to_response
try_wasmtime_to_outgoing_request
Attempt converting http::Request<wasmtime_wasi_http::body::HyperOutgoingBody> to bindings::wrpc::http::types::Request. Values of path_with_query, scheme and authority will be taken from the request URI.