This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
671 B
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) |