Re-exports§
pub use middleware::Middleware;
Modules§
Macros§
- with_
middlewares - A helper macro to wrap an async handler method into a
RequestHandlerand compose it with middlewares.
Structs§
- McpApp
State - Application state struct for the Hyper ser
- McpHttp
Handler
Traits§
Functions§
- error_
message_ from_ response - Extract the most meaningful error message from an HTTP response. This is useful for handling OAuth2 / OpenID Connect Bearer errors
- error_
response - parse_
www_ authenticate - Parse a
WWW-Authenticateheader with Bearer-style key/value parameters into a JSON object (serde_json::Map). - url_
base