Converse converse.js

Class: Bosh

Bosh()

PrivateConstructor: Strophe.Bosh Create and initialize a Strophe.Bosh object.

Parameters: (Strophe.Connection) connection - The Strophe.Connection that will use BOSH.

Returns: A new Strophe.Bosh object.

Constructor

new Bosh()

Source:

Members

strip

Variable: strip

BOSH-Connections will have all stanzas wrapped in a tag when passed to <Strophe.Connection.xmlInput> or <Strophe.Connection.xmlOutput>. To strip this tag, User code can set <Strophe.Bosh.strip> to "body":

Strophe.Bosh.prototype.strip = "body";

This will enable stripping of the body tag in both <Strophe.Connection.xmlInput> and <Strophe.Connection.xmlOutput>.

Source: