Type Alias worker::HttpRequest

source ·
pub type HttpRequest = Request<Body>;
Expand description

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

Aliased Type§

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

§

type Error = Error

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

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

Performs the conversion.