Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
Signorini committed Oct 23, 2018
1 parent bc0b358 commit f78a9e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/developer/architecture/ws_app.rst
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ Download de repository (Centrifugal project)
Client access

.. code-block:: javascript
var centrifuge = new Centrifuge('ws://{server}/connection/websocket');
centrifuge.subscribe("news", function(message) {
Expand All @@ -51,6 +52,7 @@ Client access
Backend access

.. code-block:: javascript
import json
import requests
Expand Down

0 comments on commit f78a9e1

Please sign in to comment.