Class QueueingStreamingSocket
Constructors
constructor
- new QueueingStreamingSocket(url: string, timeout?: number, reconnectedHandler?: (() => void)): QueueingStreamingSocket
Parameters
url: string
timeout: number = 10_000
Optional reconnectedHandler: (() => void)
Properties
Readonly connectionStatus
Methods
queueRequest
- queueRequest(request: string): void
A wrapper around StreamingSocket that can queue requests.