InitializedServer class final

The server details that ServerConnection.initializeAcrossVersions returns after discovery or legacy initialization.

Constructors

InitializedServer({required ProtocolVersion protocolVersion, required ServerCapabilities capabilities, Implementation? serverInfo, String? instructions})
Creates initialized server details.
const

Properties

capabilities → ServerCapabilities
The capabilities the server declared, from its DiscoverResult or its InitializeResult.
final
hashCode → int
The hash code for this object.
no setterinherited
instructions → String?
Instructions for using the server, if it sent any.
final
protocolVersion → ProtocolVersion
The protocol version the connection settled on.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serverInfo → Implementation?
The server implementation information, if provided.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited