Commit 79223645 authored by Antoine Millet's avatar Antoine Millet

Added documentation for connection and label properties in Protocol class

parent d1aa4157
......@@ -34,10 +34,18 @@ class Protocol(object):
def connection(self):
The :class:`~sjrpc.core.RpcConnection` instance which handle
this protocol.
return self._connection
def label(self):
The label binded to this protocol in the
:class:`~sjrpc.core.RpcConnection` instance.
return self._label
def send(self, payload):
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment