Skip to main content

StreamRequest

Type Alias StreamRequest 

Source
pub type StreamRequest<T = Value> = HttpRequest<T>;
Expand description

Streaming request type, mirroring the Node and Python StreamRequest.

Alias of iii_helpers::http::HttpRequest; added for cross-language parity.

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>§path_params: HashMap<String, String>§headers: HashMap<String, String>§path: String§method: String§body: T