Skip to content

@mastondzn/dank-twitch-irc / TcpTransport

Class: TcpTransport

Implements

Constructors

new TcpTransport(config)

new TcpTransport(config): TcpTransport

Parameters

config: ExpandedTcpTransportConfiguration

Returns

TcpTransport

Source

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

Properties

backingSocket?

private optional readonly backingSocket: Socket

Source

src/client/transport/tcp-transport.ts:9


config

private readonly config: ExpandedTcpTransportConfiguration

Source

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


stream

readonly stream: Socket | TLSSocket

Implementation of

Transport.stream

Source

src/client/transport/tcp-transport.ts:8

Methods

connect()

connect(connectionListener?): void

Parameters

connectionListener?

Returns

void

Implementation of

Transport.connect

Source

src/client/transport/tcp-transport.ts:31