pub type StreamRequest<T = Value> = HttpRequest<T>;Expand description
Incoming streaming request received by a function registered with a stream trigger.
Alias of iii_helpers::http::HttpRequest.
Aliased Type§
pub struct StreamRequest<T = Value> {
pub query_params: HashMap<String, String>,
pub path_params: HashMap<String, String>,
pub headers: HashMap<String, String>,
pub path: String,
pub method: String,
pub body: T,
}Fields§
§query_params: HashMap<String, String>Query-string parameters from the request URL.
path_params: HashMap<String, String>Path parameters extracted from the matched route.
headers: HashMap<String, String>Request headers.
path: StringRequest path.
method: StringHTTP method of the request (e.g. GET, POST).
body: TParsed request body.