LspServer constructor
LspServer(
- LspEndpoint _endpoint
Creates a server over any LspEndpoint — StreamLspEndpoint for stdio, or MessageLspEndpoint for a web IDE / AI-agent host.
Implementation
LspServer(this._endpoint) {
_endpoint.onRequest = _handleRequest;
_endpoint.onNotification = _handleNotification;
}