Merge pull request #48 from FlorianLudwig/doc_fixes

cleanup broker reference
pull/8/head
Nicolas 2016-07-30 21:37:33 +02:00 zatwierdzone przez GitHub
commit e3dffa22e0
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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()
@ -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