Module request

Module request 

Source
Expand description

Request and response context types for MCP request handling.

This module contains the core context types used throughout the MCP protocol implementation for tracking request metadata, response information, and analytics.

Structs§

RequestContext
Context information for a single MCP request, carried through its entire lifecycle.
RequestInfo
Contains analytics information for a single request, used for monitoring and debugging.
ResponseContext
Context information generated after processing a request, containing response details.

Enums§

ResponseStatus
Represents the status of an MCP response.

Traits§

RequestContextExt
An extension trait for RequestContext providing enhanced client ID handling.