LspClient constructor
LspClient(
- LspEndpoint _endpoint
Wraps an existing endpoint. Call start before exchanging messages so a
stream-based endpoint begins reading; message-based endpoints deliver
incoming messages through their own receive.
Implementation
LspClient(this._endpoint) {
_endpoint.onResponse = _onResponse;
_endpoint.onNotification = _onNotification;
_endpoint.onRequest = _onRequest;
}