mirror of
https://iceshrimp.dev/crimekillz/trashposs
synced 2024-11-24 17:59:05 +01:00
685 B
685 B
Home > trashposs-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) |