Methods
close
- close(): void
Returns void
onClose
- onClose(cb): void
Parameters
- cb: ((code, reason) => void)
- (code, reason): void
Parameters
- code: number
- reason: string
Returns void
Returns void
onError
- onError(cb): void
Parameters
- cb: ((reason) => void)
- (reason): void
Returns void
Returns void
onMessage
- onMessage(cb): void
Parameters
- cb: ((message) => void)
- (message): void
Returns void
Returns void
send
- send(content): void
Returns void
A closeable channel to send debug protocol messages over with error/close handling