class HttpProvider
extends HttpProviderBase
import { HttpProvider } from "https://deno.land/x/web3@v0.11.1/packages/web3-providers-http/types/index.d.ts";
Constructors
new
HttpProvider(host?: string, options?: HttpProviderOptions)Properties
optional
agent: HttpProviderAgentoptional
headers: HttpHeader[]Methods
disconnect(): boolean
send(payload: object, callback?: (error: Error | null, result: JsonRpcResponse | undefined) => void): void
supportsSubscriptions(): boolean