final | |
|---|---|
readonly | |
extends |
Result |
implements |
ServerResult |
After receiving an initialize request from the client, the server sends this response.
| Methods | ||
|---|---|---|
public
|
__construct(
ProtocolVersion $protocolVersion,
ServerCapabilities $capabilities,
Implementation $serverInfo,
?string $instructions = null,
MetaObject $meta = new MetaObject(),
)
|
# |
public
static
|
fromArray(array $data): static
|
# |
public
|
toArray(): array
|
# |
public
|
jsonSerialize(): array
|
# |
| Properties | |||
|---|---|---|---|
public
|
null|non-empty-string
|
$instructions
|
# |
public
|
ProtocolVersion
|
$protocolVersion
|
# |
public
|
ServerCapabilities
|
$capabilities
|
# |
public
|
Implementation
|
$serverInfo
|
# |
| Properties inherited from Nexus\Mcp\Core\Schema\Result |
|---|
$meta |