pusher-js/runtimes/web/dom/jsonp_request
library
Classes
-
JSONPRequest
-
Sends data via JSONP.
Data is a key-value map. Its values are JSON-encoded and then passed
through base64. Finally, keys and encoded values are appended to the query
string.
The class itself does not guarantee raising errors on failures, as it's not
possible to support such feature on all browsers. Instead, JSONP endpoint
should call back in a way that's easy to distinguish from browser calls,
for example by passing a second argument to the receiver.