Expand description
Concrete request extractor implementations for the Tako framework.
The FromRequest and FromRequestParts traits live in tako-core. The
Json and Params extractors also stay there because their internal types
are referenced by the router. Everything else (header_map, cookies, query,
path, form, ipaddr, accept, basic/bearer auth, jwt, byte body, range,
state, plus the optional multipart/protobuf/simdjson and zero-copy variants)
lives here. Re-exported under tako::extractors::* via the umbrella crate.
Modules§
- acc_
lang - Accept-Language header parsing and locale extraction. Accept-Language header parsing and locale preference extraction for internationalization.
- accept
- Content negotiation via Accept header parsing.
Content negotiation extractor for parsing the
Acceptheader. - basic
- Basic HTTP authentication credential extraction. Basic HTTP authentication credential extraction from Authorization headers.
- bearer
- Bearer token authentication extraction from Authorization header. Bearer token authentication extraction from Authorization headers.
- bytes
- Raw byte data extraction from request bodies. Raw request body access for HTTP requests.
- connect_
info ConnectInfo<T>typed view overtako_rs_core::conn_info::ConnInfo.ConnectInfo<T>extractor — typed access to per-connection transport data.- content_
length_ limit ContentLengthLimit<T, N>body-bound extractor wrapper.ContentLengthLimit<T, N>extractor — bounded body extractor wrapper.- cookie_
jar - Cookie parsing and management utilities. Cookie extraction and management for HTTP requests.
- cookie_
key_ expansion - Cookie key derivation and expansion for encryption/signing. Key derivation and expansion for secure cookie operations.
- cookie_
private - Private (encrypted) cookie handling with automatic decryption. Private cookie extraction and management for HTTP requests.
- cookie_
signed - Signed cookie handling with HMAC verification. Signed cookie extraction and management for HTTP requests.
- extension
Extension<T>typed extractor for request-scoped values.Extension<T>extractor — axum parity for request-scoped values.- form
- Form data (application/x-www-form-urlencoded) parsing. Form data extraction from HTTP request bodies.
- header_
map - HTTP header map extraction and manipulation. Header extraction from HTTP requests.
- ipaddr
- IP address extraction from request headers and connection info. Client IP address extraction from HTTP request headers.
- jwt
- JSON Web Token (JWT) handling with HMAC verification. JWT token extraction and claims parsing from Authorization headers.
- matched_
path MatchedPathextractor — the route template that matched the request.MatchedPathextractor — the route template that matched the request.- path
- URL path component extraction and manipulation. Path extraction from HTTP requests.
- query
- Query parameter parsing from URL query strings. Query parameter extraction and deserialization from URL query strings.
- query_
multi - Multi-value query parser preserving repeated keys and CSV expansions. Multi-value query extractor.
- state
- Global state extraction for accessing shared app state. Global state extraction for retrieving shared application state.
- uri_
parts - URI-derived extractors (
OriginalUri,Host,Scheme). URI-derived extractors:OriginalUri,Host,Scheme.