Skip to main content

Module request

Module request 

Source
Expand description

Raw HTTP request context and extraction trait for Plexus request extraction.

This module defines:

  • RawRequestContext — the raw HTTP view passed through the dispatch chain
  • PlexusRequest — trait for typed field extraction from RawRequestContext

Defined here (in plexus-core) so that:

  • The Activation trait can reference RawRequestContext without a circular dep
  • The generated dispatch code can call PlexusRequest::extract via #crate_path::request

Structs§

RawRequestContext
The raw HTTP context available when extracting a typed request struct.

Traits§

PlexusRequest
Trait implemented by #[derive(PlexusRequest)] structs.
PlexusRequestField
Trait for newtype field types that carry their own extraction and validation logic.

Functions§

parse_cookie
Parse a named cookie from a raw Cookie header value.