Type Alias wasmcloud_runtime::capability::http::outgoing_handler::OutgoingRequest
source · pub type OutgoingRequest = HostOutgoingRequest;
Aliased Type§
struct OutgoingRequest {
pub method: Method,
pub scheme: Option<Scheme>,
pub authority: Option<String>,
pub path_with_query: Option<String>,
pub headers: HeaderMap,
pub body: Option<BoxBody<Bytes, ErrorCode>>,
}
Fields§
§method: Method
The method of the request.
scheme: Option<Scheme>
The scheme of the request.
The authority of the request.
path_with_query: Option<String>
The path and query of the request.
headers: HeaderMap
The request headers.
body: Option<BoxBody<Bytes, ErrorCode>>
The request body.