Skip to content

Commit

Permalink
documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
miguelgrinberg committed Aug 28, 2016
1 parent f815e6b commit 43fbe9a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions docs/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -217,18 +217,18 @@ can take advantage of uWSGI's native WebSocket support.

Instances of class ``engineio.Server`` will automatically use this option for
asynchronous operations if both gevent and uWSGI are installed and eventlet is
not installed. uWSGI must be compiled with WebSocket and SSL support for the
WebSocket transport to be available. To request this asynchoronous mode
explicitly, the ``async_mode`` option can be given in the constructor::
not installed. To request this asynchoronous mode explicitly, the
``async_mode`` option can be given in the constructor::

# gevent alone or with gevent-websocket
# gevent with uWSGI
eio = engineio.Server(async_mode='gevent_uwsgi')

A complete explanation of the configuration and usage of the uWSGI server is
beyond the scope of this documentation. The uWSGI server is a fairly complex
package that provides a large and comprehensive set of options. As way of an
introduction, the following command starts a uWSGI server for the
``latency.py`` example on port 5000::
package that provides a large and comprehensive set of options. It must be
compiled with WebSocket and SSL support for the WebSocket transport to be
available. As way of an introduction, the following command starts a uWSGI
server for the ``latency.py`` example on port 5000::

$ uwsgi --http :5000 --gevent 1000 --http-websockets --master --wsgi-file latency.py --callable app

Expand Down

0 comments on commit 43fbe9a

Please sign in to comment.