final | |
|---|---|
readonly | |
implements |
Arrayable<array{toolsListChanged?: bool, promptsListChanged?: bool, resourcesListChanged?: bool, resourceSubscriptions?: list<string>}> |
The set of notification types a client may opt in to on a subscriptions/listen request. Each notification type is opt-in; the server MUST NOT send notification types the
client has not explicitly requested here.
| Methods | ||
|---|---|---|
public
|
__construct(
?bool $toolsListChanged = null,
?bool $promptsListChanged = null,
?bool $resourcesListChanged = null,
null|list<string> $resourceSubscriptions = null,
)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array|stdClass
|
# |
| Properties | |||
|---|---|---|---|
public
|
?bool
|
$toolsListChanged
|
# |
public
|
?bool
|
$promptsListChanged
|
# |
public
|
?bool
|
$resourcesListChanged
|
# |
public
|
null|list<string>
|
$resourceSubscriptions
|
# |