Struct ehttp::Request [−][src]
pub struct Request {
pub method: String,
pub url: String,
pub body: Vec<u8>,
pub headers: BTreeMap<String, String>,
}Expand description
A simple http request.
Fields
method: String“GET”, …
url: Stringhttps://…
body: Vec<u8>The raw bytes.
headers: BTreeMap<String, String>(“Accept”, “/”), …