final | |
---|---|
readonly | |
extends |
Notification |
implements |
ClientNotification, ServerNotification |
An out-of-band notification used to inform the receiver of a progress update for a long-running request.
Methods | ||
---|---|---|
public
|
__construct(
non-empty-string $jsonrpc,
ProgressToken $progressToken,
float $progress,
null|float $total = null,
null|non-empty-string $message = null,
)
|
# |
Methods inherited from Nexus\Mcp\Message\Notification |
---|
toArray() |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties | |||
---|---|---|---|
public
|
ProgressToken
|
$progressToken
|
# |
public
|
float
|
$progress
|
# |
public
|
null|float
|
$total
|
# |
public
|
null|non-empty-string
|
$message
|
# |
Properties inherited from Nexus\Mcp\Message\Notification |
---|
$method, $params |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |