[go: up one dir, main page]

HttpRequest

Type Alias HttpRequest 

Source
pub type HttpRequest = Request<Body>;
Expand description

Requires http feature. Type alias for http::Request<worker::Body>.

Aliased Type§

pub struct HttpRequest { /* private fields */ }

Trait Implementations§

Source§

impl FromRequest for HttpRequest

Source§

fn from_raw(request: Request) -> Result<Self, impl Into<Box<dyn Error>>>

Source§

impl TryFrom<Request> for HttpRequest

Source§

type Error = Error

The type returned in the event of a conversion error.
Source§

fn try_from(req: Request) -> Result<Self>

Performs the conversion.