final | |
|---|---|
readonly | |
extends |
JsonRpcResultResponse<array{jsonrpc: '2.0', id: (int|non-empty-string), result: template-type<SubscriptionsListenResult, Result, 'T'>}> |
A successful response from the server for a subscriptions/listen request,
sent when the server tears the subscription down gracefully.
| Methods | ||
|---|---|---|
public
|
__construct(RequestId $id, SubscriptionsListenResult $result)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcResultResponse |
|---|
jsonSerialize(), parseId(), parseResult(), isInputRequired(), rejectInputRequired() |
| Constants inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcMessage |
|---|
|
| Properties | |||
|---|---|---|---|
public
readonly
|
SubscriptionsListenResult
|
$result
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\JsonRpc\JsonRpcResultResponse |
|---|
$id, |