Home > eth-connect > WebSocketProvider
Signature:
export declare class WebSocketProvider<T extends IWebSocket>
Constructor | Modifiers | Description |
---|---|---|
(constructor)(url, options) | Constructs a new instance of the WebSocketProvider class |
Property | Modifiers | Type | Description |
---|---|---|---|
connection | IFuture<T> | ||
debug | boolean | ||
isDisposed | boolean | ||
options | WebSocketProviderOptions | ||
url | string |
Method | Modifiers | Description |
---|---|---|
dispose() | ||
send() | ||
sendAsync(payload, callback) |