Initialize
class Initialize implements Method
Methods
__construct(Implementation $clientInfo, ProtocolVersion $protocolVersion = ProtocolVersion::V2025_11_25)
Create an initialization request.
string
method()
Get the initialization method name.
array
params()
Get the client information and requested protocol version.
Details
at line 21
__construct(Implementation $clientInfo, ProtocolVersion $protocolVersion = ProtocolVersion::V2025_11_25)
Create an initialization request.
at line 30
string
method()
Get the initialization method name.
at line 40
array
params()
Get the client information and requested protocol version.
at line 52
TResult
handle(Protocol $protocol)
Initialize the connection and hydrate the server's response.