js-moi-providers
Version:
Module to connect and interact with MOI network
19 lines (18 loc) • 427 B
TypeScript
export interface WsReconnectOptions {
auto?: boolean;
delay?: number;
maxAttempts?: number;
onTimeout?: boolean;
}
export interface WebsocketProviderOptions {
host?: string;
timeout?: number;
reconnect?: any;
reconnectDelay?: number;
reconnectOptions?: WsReconnectOptions;
headers?: any;
protocol?: string;
clientConfig?: object;
requestOptions?: any;
origin?: string;
}