WebChannelTransport
instance. It is up to the underlying client-side
and server-side implementations to decide how or when multiplexing is
to be enabled.
goog.net.WebChannel |
No description.
Returns: !goog.net.WebChannel.RuntimeProperties
The runtime properties
of the WebChannel instance.
|
code » | ||
![]()
Sends a message to the server that maintains the other end point of
the WebChannel.
Arguments:
|
code » |
![]()
Types that are allowed as message data.
|
Code » | |
![]()
Configuration spec for newly created WebChannel instances.
WebChannels are configured in the context of the containing
WebChannelTransport . The configuration parameters are specified
when a new instance of WebChannel is created via WebChannelTransport .
messageHeaders: custom headers to be added to every message sent to the
server.
messageUrlParams: custom url query parameters to be added to every message
sent to the server.
concurrentRequestLimit: the maximum number of in-flight HTTP requests allowed
when SPDY is enabled. Currently we only detect SPDY in Chrome.
This parameter defaults to 10. When SPDY is not enabled, this parameter
will have no effect.
supportsCrossDomainXhr: setting this to true to allow the use of sub-domains
(as configured by the server) to send XHRs with the CORS withCredentials
bit set to true.
testUrl: the test URL for detecting connectivity during the initial
handshake. This parameter defaults to "//test".
|
Code » |
![]()
WebChannel level error conditions.
Constants:
|
Code » | |||||
![]()
Common events fired by WebChannels.
Constants:
|
Code » |