Class DefaultStreamClient
Constructors
constructor
- new DefaultStreamClient(socket: Socket, autoRestartStreamsOnReconnect: boolean, autoDisconnectSocket: boolean): DefaultStreamClient
-
Parameters
-
-
autoRestartStreamsOnReconnect: boolean
-
autoDisconnectSocket: boolean
Methods
registerStream
-
Parameters
Returns Promise<Stream>
setApiToken
- setApiToken(apiToken: string): void
unregisterStream
- unregisterStream(id: string): Promise<void>
-
Parameters
Returns Promise<void>