2023-06-23 22:13:03 -06:00
|
|
|
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
|
|
|
|
|
2024-07-23 15:03:50 -06:00
|
|
|
[Home](./index.md) > [iceshrimp-sdk](./iceshrimp-sdk.md) > [Stream](./iceshrimp-sdk.stream.md) > [(constructor)](./iceshrimp-sdk.stream._constructor_.md)
|
2023-06-23 22:13:03 -06:00
|
|
|
|
|
|
|
## Stream.(constructor)
|
|
|
|
|
|
|
|
Constructs a new instance of the `Stream` class
|
|
|
|
|
|
|
|
**Signature:**
|
|
|
|
|
|
|
|
```typescript
|
2024-07-23 15:03:50 -06:00
|
|
|
constructor(origin: string, user: {
|
|
|
|
token: string;
|
|
|
|
} | null, options?: {
|
|
|
|
WebSocket?: any;
|
|
|
|
});
|
2023-06-23 22:13:03 -06:00
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
|
|
|
| Parameter | Type | Description |
|
|
|
|
| --- | --- | --- |
|
|
|
|
| origin | string | |
|
|
|
|
| user | { token: string; } \| null | |
|
|
|
|
| options | { WebSocket?: any; } | _(Optional)_ |
|
|
|
|
|