Provides classes for XEP-0124: Bidirectional-streams Over Synchronous HTTP (BOSH) and XEP-0206: XMPP Over BOSH.
XEP-124 defines a transport protocol that emulates the semantics of a long-lived, bidirectional TCP connection between two entities (such as a client and a server) by efficiently using multiple synchronous HTTP request/response pairs without requiring the use of frequent polling or chunked responses.
XEP-206 defines how the Bidirectional-streams Over Synchronous HTTP (BOSH) technology can be used to transport XMPP stanzas. The result is an HTTP binding for XMPP communications that is useful in situations where a device or client is unable to maintain a long-lived TCP connection to an XMPP server.
Class Summary Class Description BoshConnectionThe abstract base class for BOSH connections. BoshConnectionConfigurationA configuration for a BOSH connection. BoshConnectionConfiguration.BuilderA builder to create a
HttpClientConnectorA BOSH transport connector which uses
HttpUrlConnectorA BOSH transport connector which uses
Exception Summary Exception Description BoshExceptionA BOSH exception is thrown when the BOSH connection manager returned an error condition or the HTTP request responded with an HTTP error code.