net.WebChannel.RuntimeProperties
The readonly runtime properties of the WebChannel instance. This class is defined for debugging and monitoring purposes, and for optimization functions that the application may choose to manage by itself.

Inheritance

Constructor

goog.net.WebChannel.RuntimeProperties()

Instance Methods

Public Protected Private
getConcurrentRequestLimit() number
No description.
Returns: number  The effective limit for the number of concurrent HTTP requests that are allowed to be made for sending messages from the client to the server. When SPDY is not enabled, this limit will be one.
code »
getNonAckedMessageCount() number
This method may be used by the application to throttle the rate of outgoing messages, as a means of sender initiated flow-control.
Returns: number  The total number of messages that have not received ack from the server and therefore remain in the buffer.
code »
isSpdyEnabled() boolean
For applications that need support multiple channels (e.g. from different tabs) to the same origin, use this method to decide if SPDY is enabled and therefore it is safe to open multiple channels. If SPDY is disabled, the application may choose to limit the number of active channels to one or use other means such as sub-domains to work around the browser connection limit.
Returns: boolean  Whether SPDY is enabled for the origin against which the channel is created.
code »
setServerFlowControl(enabled)
This method may be used by the application to stop ack of received messages as a means of enabling or disabling flow-control on the server-side.
Arguments:
enabled : boolean
If true, enable flow-control behavior on the server side. Setting it to false will cancel ay previous enabling action.
code »

Package net.WebChannel

Package Reference