import { JSONRPCClient } from "https://deno.land/x/s3si@gui-v0.4.16/src/jsonrpc/mod.ts";
Constructors
new
JSONRPCClient(unnamed 0: { transport: Transport; })Type Parameters
S extends Service
Properties
protected
requestMap: Map<ID, (result: RPCResult<any, ResponseError>) => void>protected
transport: TransportMethods
protected
handleResponse(resp: Response<unknown, ResponseError>)protected
run()protected
setFatal(e: unknown)close()
makeRequest<K extends keyof S & string, P extends Parameters<S[K]>>(method: K, params: P): Request<K, P>