mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-22 08:53:48 +01:00
23 lines
666 B
Markdown
23 lines
666 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [trashposs-js](./trashposs-js.md) > [ChannelConnection](./trashposs-js.channelconnection.md) > [(constructor)](./trashposs-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](./trashposs-js.stream.md) | |
|
|
| channel | string | |
|
|
| name | string | _(Optional)_ |
|
|
|