goog.net.WebSocket.Options
Instance Properties
expand_more
this.autoReconnect → (boolean|undefined)
(boolean|undefined)
True if the web socket should automatically reconnect or not. This is true by default.
expand_more
this.binaryType → (goog.net.WebSocket.BinaryType|undefined)
(goog.net.WebSocket.BinaryType|undefined)
Specifies the type of incoming binary messages, either Blob or ArrayBuffer.
A function for obtaining the time until the next reconnect attempt. Given the reconnect attempt count (which is a positive integer), the function should return a positive integer representing the milliseconds to the next reconnect attempt. The default function used is an exponential back-off. Note that this function is never called if auto reconnect is disabled.