jormungandr-bite/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.channelconnection._constructor_.md
Laura Hausmann 91dddc439f
[sdk] Rename iceshrimp-js package to iceshrimp-sdk
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
2024-07-23 23:15:19 +02:00

671 B

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