Skip to content

Commit

Permalink
Add heading markers to readme subsections
Browse files Browse the repository at this point in the history
  • Loading branch information
emlove committed Oct 20, 2020
1 parent 74068f7 commit 28c6540
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ Usage
It is recommended to manage the aiohttp ClientSession object externally and pass it to the Server constructor. `(See the aiohttp documentation.) <https://aiohttp.readthedocs.io/en/stable/client_reference.html#aiohttp.ClientSession>`_ If not passed to Server, a ClientSession object will be created automatically.

Execute remote JSON-RPC functions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand All @@ -42,6 +43,7 @@ Execute remote JSON-RPC functions
asyncio.get_event_loop().run_until_complete(routine())
A notification
~~~~~~~~~~~~~~

.. code-block:: python
Expand All @@ -61,6 +63,7 @@ A notification
asyncio.get_event_loop().run_until_complete(routine())
Handle requests from server to client
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand All @@ -83,6 +86,7 @@ Handle requests from server to client
asyncio.get_event_loop().run_until_complete(routine())
Pass through arguments to aiohttp (see also `aiohttp documentation <http://aiohttp.readthedocs.io/en/stable/client_reference.html#aiohttp.ClientSession.request>`_)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand All @@ -106,6 +110,7 @@ Pass through arguments to aiohttp (see also `aiohttp documentation <http://aioh
asyncio.get_event_loop().run_until_complete(routine())
Pass through aiohttp exceptions
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

.. code-block:: python
Expand Down

0 comments on commit 28c6540

Please sign in to comment.