Trait wasmtime_wasi_http::types::HttpRequest
source · pub trait HttpRequest: Send + Sync {
// Required methods
fn new() -> Self
where Self: Sized;
fn as_any(&self) -> &dyn Any;
fn method(&self) -> &Method;
fn scheme(&self) -> &Option<Scheme>;
fn path_with_query(&self) -> &str;
fn authority(&self) -> &str;
fn headers(&self) -> Option<u32>;
fn set_headers(&mut self, headers: u32);
fn body(&self) -> Option<u32>;
fn set_body(&mut self, body: u32);
}