Namespace Nexus\Mcp\Core\Transport

Classes
InMemoryTransport

In-process JSON-RPC duplex between two TransportInterface instances.

ReceiveContext

Transport-supplied context accompanying an inbound JSON-RPC message.

SendContext

Per-call context accompanying an outbound JSON-RPC message on a transport.

Interfaces
AbortableTransportInterface

A transport whose in-flight work can be stopped one request at a time rather than only wholesale by close().

CancellableTransportInterface

A transport that can observe a peer abandoning an in-flight request without saying so in a message, such as an SSE consumer closing its stream.

ListenerHandleInterface

Opaque handle returned by transport listener registrations.

ParameterHeaderMirroringInterface

Marks a transport that mirrors x-mcp-header tool parameters into request headers.

ReconnectingTransportInterface

A transport that replaces its own connection in place.

SupervisableTransportInterface

A transport whose peer runs as a process it owns.

TransportInterface

Bidirectional JSON-RPC envelope duplex between this SDK and a connected peer.

Enums
TransportState

Lifecycle state of a TransportInterface instance.