pub type RequestHandlerFn = dyn for<'req> Fn(Request<&'req str>, Arc<McpAppState>) -> BoxFutureResponse<'req> + Send + Sync;Expand description
A handler function that processes an HTTP request and shared state, returning an async response future.
pub type RequestHandlerFn = dyn for<'req> Fn(Request<&'req str>, Arc<McpAppState>) -> BoxFutureResponse<'req> + Send + Sync;A handler function that processes an HTTP request and shared state, returning an async response future.