mushroom
stable
Installation instructions
Mushroom protocol
CORS
Examples
Python API reference
WSGI application - mushroom.application
HTTP utilities and transports - mushroom.http
Messaging via message oriented middlewares - mushroom.messaging
Remote procedure calls - mushroom.rpc
Standalone server - mushroom.server
Sessions for client-server communication - mushroom.sessions
Simple API - mushroom.simple
Transport base classes - mushroom.transport
Utilities - mushroom.utils
Django Support - mushroom.django_support
FAQ
License
mushroom
Docs
»
Python API reference
»
Messaging via message oriented middlewares - mushroom.messaging
Edit on Bitbucket
Messaging via message oriented middlewares - mushroom.messaging
¶
class
mushroom.messaging.
Client
(
broker_url
,
exchange
,
queue
,
rpc_handler
)
¶
start
(
)
¶
stop
(
)
¶
class
mushroom.messaging.
Transport
(
broker_url
,
exchange
,
queue
)
¶
callback
(
body
,
message
)
¶
mainloop
(
)
¶
send
(
message
,
routing_key=None
)
¶
start
(
)
¶
stop
(
join=True
)
¶
Read the Docs
v: stable
Versions
latest
stable
Downloads
pdf
htmlzip
epub
On Read the Docs
Project Home
Builds
Free document hosting provided by
Read the Docs
.