private async _handleRequest(request: IJsonRpcRequest): Promise<JsonRpcResponse> {
if (!this._handlers.handleRequest) {
jsonrpc: '2.0',
id: request.id,
error: {
code: JsonRpcProtocol.MethodNotFound,
message: `Method not found: ${request.method}`,
}
};
this._send(response);
return response;
}
const cts = new CancellationTokenSource();