goog.labs.net.webChannel.BaseTestChannel |
channel
: !goog.labs.net.webChannel.Channel
The channel
that owns this test channel.
|
channelDebug
: !goog.labs.net.webChannel.WebChannelDebug
A
WebChannelDebug instance to use for logging.
|
![]()
Aborts the test channel.
|
code » | |||
![]()
Begins the second stage of the test channel where we test to see if we're
behind a buffering proxy. The server sends back a multi-chunked response
with the first chunk containing the content '1' and then two seconds later
sending the second chunk containing the content '2'. Depending on how we
receive the content, we can tell if we're behind a buffering proxy.
|
code » | |||
No description.
Returns: boolean
True if test stage 2 detected a non-buffered
channel early and early no buffering detection is enabled.
|
code » | |||
![]()
Starts the test channel. This initiates connections to the server.
Arguments:
|
code » | |||
![]()
No description.
|
code » | |||
No description.
Returns: ?string
The client protocol as recorded with the init handshake
request.
|
code » | |||
Returns the last status code received for a request.
Returns: number
The last status code received for a request.
|
code » | |||
![]()
No description.
|
code » | |||
Returns whether the test channel is closed. The ChannelRequest object expects
this method to be implemented on its handler.
Returns: boolean
Whether the channel is closed.
|
code » | |||
![]()
Callback from ChannelRequest that indicates a request has completed.
Arguments:
|
code » | |||
![]()
Callback from ChannelRequest for when new data is received
Arguments:
|
code » | |||
![]()
Record the client protocol header from the initial handshake response.
Arguments:
|
code » | |||
![]()
Sets extra HTTP headers to add to all the requests sent to the server.
Arguments:
|
code » | |||
No description.
Returns: boolean
Whether we should be using secondary domains when the
server instructs us to do so.
|
code » |
The channel debug to use for logging
|
Code » | |
The channel that owns this test channel
|
Code » | |
![]()
The effective client protocol as indicated by the initial handshake
response via the x-client-wire-protocol header.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
Extra HTTP headers to add to all the requests sent to the server.
|
Code » | |
![]()
The time for of the first result part. We use timing in IE as a
heuristic for whether we're behind a buffering proxy.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
A subdomain prefix for using a subdomain in IE for the backchannel
requests.
|
Code » | |
![]()
The last status code received.
|
Code » | |
![]()
The time for of the last result part. We use timing in IE as a
heuristic for whether we're behind a buffering proxy.
|
Code » | |
![]()
The relative path for test requests.
|
Code » | |
![]()
Whether we have received the first result as an intermediate result. This
helps us determine whether we're behind a buffering proxy.
|
Code » | |
The test request.
|
Code » | |
![]()
The time when the test request was started. We use timing in IE as
a heuristic for whether we're behind a buffering proxy.
|
Code » | |
![]()
The state of the state machine for this object.
|
Code » | |
![]()
No description.
|
Code » | |
![]()
No description.
|
Code » |
![]()
Time between chunks in the test connection that indicates that we
are not behind a buffering proxy. This value should be less than or
equals to the time between chunks sent from the server.
|
Code » |
![]()
Enum type for the test channel state machine
Constants:
|
Code » |