Skip to content

Commit

Permalink
Merge pull request #48 from FlorianLudwig/doc_fixes
Browse files Browse the repository at this point in the history
cleanup broker reference
  • Loading branch information
Nicolas committed Jul 30, 2016
2 parents f1df270 + a1bd723 commit e3dffa2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions docs/references/broker.rst
Expand Up @@ -15,8 +15,9 @@ The following example shows how to start a broker using the default configuratio
import os
from hbmqtt.broker import Broker
@asyncio.coroutine
def test_coro():
def broker_coro():
broker = Broker()
yield from broker.start()
Expand Down Expand Up @@ -58,10 +59,10 @@ The :class:`~hbmqtt.broker.Broker` ``__init__`` method accepts a ``config`` para
my-tcp-1:
bind: 127.0.0.1:1883
my-tcp-2:
bind: 1.2.3.4:1883
bind: 1.2.3.4:1884
max-connections: 1000
my-tcp-ssl-1:
bind: 127.0.0.1:8883
bind: 127.0.0.1:8885
ssl: on
cafile: /some/cafile
capath: /some/folder
Expand Down

0 comments on commit e3dffa2

Please sign in to comment.