You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 1, 2021. It is now read-only.
Copy file name to clipboardExpand all lines: README.rst
+59Lines changed: 59 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -260,6 +260,65 @@ For details see the corresponding Django documentation.
260
260
)
261
261
262
262
263
+
Using SSL Connections
264
+
~~~~~~~~~~~~~~~~~~~~~
265
+
If you need to setup a secure RPC server (use own certification files for example) you can create a ssl.SSLContext instance and pass it into the aiohttp web application.
266
+
267
+
The following code implements a simple secure RPC server that serves the method ``ping`` on ``localhost:8080``
See `aiohttp documentation <https://docs.aiohttp.org/en/stable/client_advanced.html#ssl-control-for-tcp-sockets>`_ for more details on SSL control for TCP sockets.
0 commit comments