Class Nexus\Mcp\Core\Schema\Request\SubscriptionsListenRequest

final
readonly
extends JsonRpcRequest<'subscriptions/listen', array{jsonrpc: '2.0', id: (int|non-empty-string), method: 'subscriptions/listen', params: template-type<SubscriptionsListenRequestParams, RequestParams, 'T'>}>
implements ClientRequest

Sent from the client to open a long-lived channel for receiving notifications outside the context of a specific request. Replaces the previous HTTP GET endpoint and ensures consistent behavior between HTTP and STDIO.

Methods
Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
jsonSerialize()
Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage
JSONRPC_VERSION
Properties
Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcRequest
$id