goog.labs.net.webChannel.WireV8 |
![]()
Decodes a standalone message received from the wire. May throw exception
if text is ill-formatted.
We use eval() to decode as the server may generate JS literals,
which don't necessarily comply with the JSON format, such as
double quota, null array element.
Over time we will phase out servers that don't generate JSON formatted
messages.
Arguments:
Returns: *
The decoded message object.
|
code » | ||||
![]()
Encodes a standalone message into the wire format.
May throw exception if the message object contains any invalid elements.
Arguments:
|
code » | ||||
![]()
Encodes all the buffered messages of the forward channel.
|
code » |
Parser for a response payload. The parser should return an array.
|
Code » |