Converse converse.js

Class: Request


PrivateClass: Strophe.Request Private helper class that provides a cross implementation abstraction for a BOSH related XMLHttpRequest.

The Strophe.Request class is used internally to encapsulate BOSH request information. It is not meant to be used from user's code.


new Request()

PrivateConstructor: Strophe.Request Create and initialize a new Strophe.Request object.

Parameters: (XMLElement) elem - The XML data to be sent in the request. (Function) func - The function that will be called when the XMLHttpRequest readyState changes. (Integer) rid - The BOSH rid attribute associated with this request. (Integer) sends - The number of times this same request has been sent.