jormungandr-bite/packages/iceshrimp-sdk/markdown/iceshrimp-sdk.stream._constructor_.md
Laura Hausmann 91dddc439f
[sdk] Rename iceshrimp-js package to iceshrimp-sdk
This resolves possible confusion between iceshrimp-js (this project) and iceshrimp-sdk (the package)
2024-07-23 23:15:19 +02:00

689 B

Home > iceshrimp-sdk > 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)