rudeshark.net/packages/firefish-js/markdown/firefish-js.channelconnection._constructor_.md

23 lines
661 B
Markdown
Raw Normal View History

<!-- Do not edit this file. It is automatically generated by API Documenter. -->
2023-07-03 00:18:30 +02:00
[Home](./index.md) &gt; [firefish-js](./firefish-js.md) &gt; [ChannelConnection](./firefish-js.channelconnection.md) &gt; [(constructor)](./firefish-js.channelconnection._constructor_.md)
## ChannelConnection.(constructor)
Constructs a new instance of the `Connection` class
**Signature:**
```typescript
constructor(stream: Stream, channel: string, name?: string);
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
2023-07-03 00:18:30 +02:00
| stream | [Stream](./firefish-js.stream.md) | |
| channel | string | |
| name | string | _(Optional)_ |