mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-13 22:28:12 +09:00
23 lines
656 B
Markdown
23 lines
656 B
Markdown
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
||
|
|
||
|
[Home](./index.md) > [calckey-js](./calckey-js.md) > [ChannelConnection](./calckey-js.channelconnection.md) > [(constructor)](./calckey-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](./calckey-js.stream.md) | |
|
||
|
| channel | string | |
|
||
|
| name | string | _(Optional)_ |
|
||
|
|