Debian Codegraph @

testing/web-platform/tests/tools/third_party/h2/docs/source/tornado-example.rst

raw
1 Tornado Example Server
2 ======================
3
4 This example is a basic HTTP/2 server written using the `Tornado`_ asynchronous
5 networking library.
6
7 The server returns the request headers as a JSON document to the caller, just
8 like the example from the :doc:`basic-usage` document.
9
10 .. literalinclude:: ../../examples/tornado/tornado-server.py
11 :language: python
12 :linenos:
13 :encoding: utf-8
14
15
16 .. _Tornado: http://www.tornadoweb.org/