UNPKG

ripple-lib

Version:

Deprecated - consider migrating to xrpl.js: https://xrpl.org/xrpljs2-migration-guide.html

15 lines 453 B
/// <reference types="node" /> import { EventEmitter } from 'events'; declare class WSWrapper extends EventEmitter { private _ws; static CONNECTING: number; static OPEN: number; static CLOSING: number; static CLOSED: number; constructor(url: any, _protocols: any, _websocketOptions: any); close(): void; send(message: any): void; get readyState(): number; } export = WSWrapper; //# sourceMappingURL=wswrapper.d.ts.map