iceshrimp/packages/calckey-js/markdown/calckey-js.channelconnection._constructor_.md
2023-06-23 21:13:03 -07:00

656 B

Home > calckey-js > ChannelConnection > (constructor)

ChannelConnection.(constructor)

Constructs a new instance of the Connection class

Signature:

constructor(stream: Stream, channel: string, name?: string);

Parameters

Parameter Type Description
stream Stream
channel string
name string (Optional)