Interface RWSEvents

interface RWSEvents {
    message: [data: string, isBin: boolean];
    close: [code: number, reason: string | Buffer];
    error: [err: Error];
    open: [];
    pong: [];
}

Properties

message: [data: string, isBin: boolean]
close: [code: number, reason: string | Buffer]
error: [err: Error]
open: []
pong: []