Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
bf9ba245
Commit
bf9ba245
authored
Apr 04, 2017
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix title level inconsistencies
parent
58f62998
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
docs/source/setup.rst
docs/source/setup.rst
+8
-8
No files found.
docs/source/setup.rst
View file @
bf9ba245
...
...
@@ -57,7 +57,7 @@ A BOSH Connection Manager
Your website and *Converse.js* use `HTTP <https://en.wikipedia.org/wiki/Hypertext_Transfer_Protocol>`_
as protocol to communicate with the webserver. HTTP connections are stateless and usually shortlived.
`XMPP <https://en.wikipedia.org/wiki/Xmpp>`_
on the other hand, is the protocol that enables instant messaging, and
XMPP
on the other hand, is the protocol that enables instant messaging, and
its connections are stateful and usually longer.
To enable a web application like *Converse.js* to communicate with an XMPP
...
...
@@ -67,9 +67,9 @@ This is the job of a BOSH connection manager. BOSH (Bidirectional-streams Over
Synchronous HTTP) is a protocol for allowing XMPP communication over HTTP. The
protocol is defined in `XEP-0206: XMPP Over BOSH <http://xmpp.org/extensions/xep-0206.html>`_.
Popular XMPP servers such as `
e
jabberd <http://www.ejabberd.im>`_,
`prosody
<http://prosody.im/doc/setting_up_bosh>`_ and
`
openf
ire <http://www.igniterealtime.org/projects/openfire/>`_ all include
Popular XMPP servers such as `
E
jabberd <http://www.ejabberd.im>`_,
prosody `(mod_bosh)
<http://prosody.im/doc/setting_up_bosh>`_ and
`
OpenF
ire <http://www.igniterealtime.org/projects/openfire/>`_ all include
their own connection managers (but you usually have to enable them in the
configuration).
...
...
@@ -124,7 +124,7 @@ Apache/Nginx which serves the connection manager under the same domain as your
website. This will remove the need for any cross-domain XHR support.
For example:
------------
============
Assuming your site is accessible on port ``80`` for the domain ``mysite.com``
and your connection manager manager is running at ``someothersite.com/http-bind``.
...
...
@@ -136,7 +136,7 @@ the cross-domain restriction is ``mysite.com/http-bind`` and not
Your ``nginx`` or ``apache`` configuration will look as follows:
Nginx
~~~~~
-----
.. code-block:: nginx
...
...
@@ -151,7 +151,7 @@ Nginx
}
Apache
~~~~~~
------
.. code-block:: apache
...
...
@@ -249,7 +249,7 @@ Please read the documentation on those settings for a fuller picture of what
needs to be done.
Example code for server-side prebinding
***************************************
---------------------------------------
* PHP:
See `xmpp-prebind-php <https://github.com/candy-chat/xmpp-prebind-php>`_ by
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment