final | |
|---|---|
readonly | |
extends |
Result<array{_meta: template-type<SubscriptionsListenResultMetaObject, Arrayable, 'T'>, resultType: non-empty-string}> |
implements |
ServerResult |
The response to a subscriptions/listen request, signalling that the subscription has ended gracefully
(for example, during server shutdown). Because the listen stream is long-lived, this result is sent only
when the server tears the subscription down; an abrupt transport close carries no response. The result
body is otherwise empty.
| Methods | ||
|---|---|---|
public
|
__construct(SubscriptionsListenResultMetaObject $meta)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
rebuildWithMeta(ResultMetaObject $meta): static
|
# |
protected
|
getResultType(): string
|
# |
| Methods inherited from Nexus\Mcp\Core\Schema\Result |
|---|
jsonSerialize(), |
| Properties | |||
|---|---|---|---|
public
readonly
|
SubscriptionsListenResultMetaObject
|
$meta
|
# |