mirror of
https://example.com
synced 2024-11-27 15:26:39 +09:00
22 lines
661 B
Markdown
22 lines
661 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [firefish-js](./firefish-js.md) > [ChannelConnection](./firefish-js.channelconnection.md) > [(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 |
|
|
| --- | --- | --- |
|
|
| stream | [Stream](./firefish-js.stream.md) | |
|
|
| channel | string | |
|
|
| name | string | _(Optional)_ |
|
|
|