mirror of
https://iceshrimp.dev/iceshrimp/iceshrimp
synced 2024-12-05 10:18:05 +09:00
685 B
685 B
Home > iceshrimp-js > Stream > (constructor)
Stream.(constructor)
Constructs a new instance of the Stream
class
Signature:
constructor(
origin: string,
user: {
token: string;
} | null,
options?: {
WebSocket?: any;
},
);
Parameters
Parameter | Type | Description |
---|---|---|
origin | string | |
user | { token: string; } | null | |
options | { WebSocket?: any; } | (Optional) |