Home > eth-connect > HTTPProvider
HttpProvider should be used to send rpc calls over http
Signature:
export declare class HTTPProvider
Constructor | Modifiers | Description |
---|---|---|
(constructor)(host, options) | Constructs a new instance of the HTTPProvider class |
Property | Modifiers | Type | Description |
---|---|---|---|
debug | boolean | ||
host | string | ||
options | HTTPProviderOptions |
Method | Modifiers | Description |
---|---|---|
send() | ||
sendAsync(payload, callback) | Should be used to make async request |