final | |
---|---|
readonly | |
extends |
Request |
implements |
ClientRequest |
This request is sent from the client to the server when it first connects, asking it to begin initialization.
Methods | ||
---|---|---|
public
|
__construct(
non-empty-string $jsonrpc,
ClientCapabilities $capabilities,
Implementation $clientInfo,
ProtocolVersion $protocolVersion,
)
|
# |
Methods inherited from Nexus\Mcp\Message\Request |
---|
toArray() |
Methods inherited from Nexus\Mcp\Message\Message |
---|
jsonSerialize() |
Constants inherited from Nexus\Mcp\Message\Message |
---|
|
Properties | |||
---|---|---|---|
public
|
ClientCapabilities
|
$capabilities
|
# |
public
|
Implementation
|
$clientInfo
|
# |
public
|
ProtocolVersion
|
$protocolVersion
|
# |
Properties inherited from Nexus\Mcp\Message\Request |
---|
$method, $params |
Properties inherited from Nexus\Mcp\Message\Message |
---|
$jsonrpc |