Struct wry::http::Request [−][src]
pub struct Request {
pub head: RequestParts,
pub body: Vec<u8>,
}
Expand description
Represents an HTTP request from the WebView.
An HTTP request consists of a head and a potentially optional body.
Platform-specific
- Linux: Headers are not exposed.
Fields
head: RequestParts
body: Vec<u8>
Implementations
Returns a reference to the associated header field map.
Consumes the request returning the head and body RequestParts.