goog.labs.net.webChannel.ForwardChannelRequestPool |
opt_maxPoolSize
: number=
The maximum pool size.
|
![]()
Adds a new request to the pool.
Arguments:
|
code » | ||
![]()
Once we know the client protocol (from the handshake), check if we need
enable the request pool accordingly. This is more robust than using
browser-internal APIs (specific to Chrome).
Arguments:
|
code » | ||
![]()
Clears the pool and cancel all the pending requests.
|
code » | ||
Cancels all pending requests and force the completion of channel requests.
Need go through the standard onRequestComplete logic to expose the max-retry
failure in the standard way.
Arguments:
Returns: boolean
true if any request has been forced to complete.
|
code » | ||
No description.
Returns: number
The current size limit.
|
code » | ||
No description.
Returns: number
The number of pending requests in the pool.
|
code » | ||
No description.
Returns: boolean
Whether there are any pending requests.
|
code » | ||
No description.
Arguments:
Returns: boolean
True if the request is a included inside the pool.
|
code » | ||
No description.
Returns: boolean
True if the pool is full.
|
code » | ||
Removes the given request from the pool.
Arguments:
Returns: boolean
Whether the request has been removed from the pool.
|
code » |
![]()
THe max pool size as configured.
|
Code » | |
![]()
The current size limit of the request pool. This limit is meant to be
read-only after the channel is fully opened.
If SPDY is enabled, set it to the max pool size, which is also
configurable.
|
Code » | |
The container for all the pending request objects.
|
Code » | |
The single request object when the pool size is limited to one.
|
Code » |
No description.
Returns: boolean
True if SPDY is enabled for the current page using
chrome specific APIs.
|
code » |
![]()
The default size limit of the request pool.
|
Code » |