channelrequest.js
No description.

File Location

/goog/labs/net/webchannel/channelrequest.js

Classes

goog.labs.net.webChannel.ChannelRequest
A new ChannelRequest is created for each request to the server.

Public Protected Private

Enumerations

Global Functions

goog.labs.net.webChannel.ChannelRequest.createChannelRequest(channelchannelDebugopt_sessionIdopt_requestIdopt_retryId) !ChannelRequest
Convenience factory method.
Arguments:
channel : Channel
The channel object that owns this request.
channelDebug : WebChannelDebug
A WebChannelDebug to use for logging.
opt_sessionId : string=
The session id for the channel.
opt_requestId : string | number=
The request id for this request.
opt_retryId : number=
The retry id for this request.
Returns: !ChannelRequest  The created channel request.
code »
goog.labs.net.webChannel.ChannelRequest.errorStringFromCode(errorCodestatusCode) string
Returns a useful error string for debugging based on the specified error code.
Arguments:
errorCode : ?ChannelRequest.Error
The error code.
statusCode : number
The HTTP status code.
Returns: string  The error string for the given code combination.
code »
goog.labs.net.webChannel.ChannelRequest.supportsXhrStreaming() boolean
Returns whether XHR streaming is supported on this browser. If XHR streaming is not supported, we will try to use an ActiveXObject to create a Forever IFrame.
Returns: boolean  Whether XHR streaming is supported.
code »

Directory webchannel

File Reference