Class QueueingStreamingSocket
Constructors
constructor
- new QueueingStreamingSocket(url: string, timeout?: number, reconnectedHandler?: undefined | function): QueueingStreamingSocket
-
Parameters
-
url: string
-
Default value timeout: number = 10000
-
Optional reconnectedHandler: undefined | function
Methods
queueRequest
- queueRequest(request: string): void
A wrapper around StreamingSocket that can queue requests.