mirror of
https://iceshrimp.dev/crimekillz/iceshrimp-161sh.git
synced 2024-11-23 04:33:50 +01:00
31 lines
677 B
Markdown
31 lines
677 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
[Home](./index.md) > [calckey-js](./calckey-js.md) > [Stream](./calckey-js.stream.md) > [(constructor)](./calckey-js.stream._constructor_.md)
|
|
|
|
## Stream.(constructor)
|
|
|
|
Constructs a new instance of the `Stream` class
|
|
|
|
**Signature:**
|
|
|
|
```typescript
|
|
constructor(
|
|
origin: string,
|
|
user: {
|
|
token: string;
|
|
} | null,
|
|
options?: {
|
|
WebSocket?: any;
|
|
},
|
|
);
|
|
```
|
|
|
|
## Parameters
|
|
|
|
| Parameter | Type | Description |
|
|
| --- | --- | --- |
|
|
| origin | string | |
|
|
| user | { token: string; } \| null | |
|
|
| options | { WebSocket?: any; } | _(Optional)_ |
|
|
|