![]()
Instantiates a ChannelRequest with the given parameters. Overidden in tests.
Arguments:
Returns: !goog.net.ChannelRequest
The created channel request.
|
code » | ||||||
![]()
No description.
|
code » | ||||||
Returns the singleton event target for stat events.
Returns: goog.events.EventTarget
The event target for stat events.
|
code » | ||||||
Returns whether or not the given error/status combination is fatal or not.
On fatal errors we immediately close the session rather than retrying the
failed request.
|
code » | ||||||
![]()
Helper function to call the stat event callback.
Arguments:
|
code » | ||||||
![]()
Helper function to notify listeners about POST request performance.
|
code » | ||||||
![]()
Helper function to call the end hook
|
code » | ||||||
![]()
Helper function to call the start hook
|
code » | ||||||
![]()
Allows the application to set an execution hooks for when BrowserChannel
stops processing requests. This is useful to track timing or logging
special information. The function takes no parameters and return void.
Arguments:
|
code » | ||||||
![]()
Allows the application to set an execution hooks for when BrowserChannel
starts processing requests. This is useful to track timing or logging
special information. The function takes no parameters and return void.
Arguments:
|
code » | ||||||
Wrapper around SafeTimeout which calls the start and end execution hooks
with a try...finally block.
|
code » |