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 chainPlexusRequest— trait for typed field extraction fromRawRequestContext
Defined here (in plexus-core) so that:
- The
Activationtrait can referenceRawRequestContextwithout a circular dep - The generated dispatch code can call
PlexusRequest::extractvia#crate_path::request
Structs§
- RawRequest
Context - The raw HTTP context available when extracting a typed request struct.
Traits§
- Plexus
Request - Trait implemented by
#[derive(PlexusRequest)]structs. - Plexus
Request Field - Trait for newtype field types that carry their own extraction and validation logic.
Functions§
- parse_
cookie - Parse a named cookie from a raw
Cookieheader value.