*Add handleRequest
This commit is contained in:
parent
7c3c193b4a
commit
6bcb61e3c6
|
@ -55,6 +55,7 @@ export declare class RPCServer extends EventEmitter {
|
||||||
public setup(stream: any): any;
|
public setup(stream: any): any;
|
||||||
public signData(data: any): string;
|
public signData(data: any): string;
|
||||||
public static hashQuery(query: RPCRequest): string;
|
public static hashQuery(query: RPCRequest): string;
|
||||||
|
public handleRequest(request: RPCRequest): Promise<RPCResponse>;
|
||||||
}
|
}
|
||||||
export declare class RPCCache extends EventEmitter {
|
export declare class RPCCache extends EventEmitter {
|
||||||
get data(): NodeCache;
|
get data(): NodeCache;
|
||||||
|
|
Loading…
Reference in New Issue