final | |
|---|---|
readonly | |
extends |
AbstractContext |
Context passed to server-side request handlers.
| Methods | ||
|---|---|---|
public
|
__construct(
RequestId $requestId,
Cancellation $cancellation,
RequestMetaObject $meta,
?string $sessionId,
SenderInterface $sender,
LoggingLevelGate $gate = new LoggingLevelGate(),
)
|
# |
public
|
log(LoggingLevel $level, mixed $data, ?string $logger = null): void
|
# |
| Methods inherited from Nexus\Mcp\Core\Handler\AbstractContext |
|---|
reportProgress() |
| Properties inherited from Nexus\Mcp\Core\Handler\AbstractContext |
|---|
$requestId, $cancellation, $meta, $sessionId, $sender |