File: server.rst

package info (click to toggle)
python-tinyrpc 0.6-5
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 352 kB
  • sloc: python: 1,648; makefile: 142; sh: 16
file content (17 lines) | stat: -rw-r--r-- 584 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Server implementations
======================

Like :doc:`client`, servers are top-level instances that most user code should
interact with. They provide runnable functions that are combined with
transports, protocols and dispatchers to form a complete RPC system.

.. automodule:: tinyrpc.server
   :members:

.. py:class:: tinyrpc.server.gevent.RPCServerGreenlets

   Asynchronous RPCServer.

   This implementation of :py:class:`~tinyrpc.server.RPCServer` uses
   :py:func:`gevent.spawn` to spawn new client handlers, result in asynchronous
   handling of clients using greenlets.