UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

10 lines 433 B
import type { EthereumProvider } from "../../../../types/providers.js"; import type { IncomingMessage, ServerResponse } from "node:http"; import type WebSocket from "ws"; export declare class JsonRpcHandler { #private; constructor(provider: EthereumProvider); handleHttp: (req: IncomingMessage, res: ServerResponse) => Promise<void>; handleWs: (ws: WebSocket) => Promise<void>; } //# sourceMappingURL=handler.d.ts.map