jormungandr-bite/packages/iceshrimp-js/markdown/iceshrimp-js.channelconnection._constructor_.md
2024-06-17 10:15:54 -06:00

644 B

Home > iceshrimp-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)