Skip to content

Commit

Permalink
fixes some errors in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Goedde committed Oct 9, 2015
1 parent d3a6eca commit 3e7f892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ To **open a connection**:

.. js:function:: autobahn.Connection.open

This will establish an underlying transport and create a new session running over the transport. WebSocket is the default transport, but for environments which do not support WebSocket (like really old browsers) HTTP long-poll is used as a fallback.
This will establish an underlying transport and create a new session running over the transport. WebSocket is the default transport, but for environments which do not support WebSocket (like really old browsers) HTTP long-poll can be used as a fallback.

When the transport is lost, automatic reconnection will be attempted. This can be configured using the ``options`` provided to the constructor of the ``Connection`` (see `Connection Options`_).

Expand Down Expand Up @@ -173,6 +173,7 @@ Supported transports are WebSocket and HTTP long-poll.
As an example, with the options below, |ab| first attempts to establish a WebSocket connection and if this fails a HTTP long-poll connection to the respective URLs given.

.. code-block:: javascript
var connection = new autobahn.Connection({
transports: [
{
Expand Down

0 comments on commit 3e7f892

Please sign in to comment.