Skip to content

@mastondzn/dank-twitch-irc / WebSocketTransport

Class: WebSocketTransport

Implements

Constructors

new WebSocketTransport(config)

new WebSocketTransport(config): WebSocketTransport

Parameters

config: ExpandedWebSocketTransportConfiguration

Returns

WebSocketTransport

Source

src/client/transport/websocket-transport.ts:17

Properties

config

private readonly config: ExpandedWebSocketTransportConfiguration

Source

src/client/transport/websocket-transport.ts:14


readable

private readonly readable: PassThrough

Source

src/client/transport/websocket-transport.ts:11


stream

readonly stream: Duplex

Implementation of

Transport.stream

Source

src/client/transport/websocket-transport.ts:10


writable

private readonly writable: PassThrough

Source

src/client/transport/websocket-transport.ts:12


wsStream

private wsStream: undefined | Socket

Source

src/client/transport/websocket-transport.ts:15

Methods

connect()

connect(connectionListener?): void

Parameters

connectionListener?

Returns

void

Implementation of

Transport.connect

Source

src/client/transport/websocket-transport.ts:28