gh-100248: Add missing `ssl_shutdown_timeout` parameter in `asyncio` docs (#100249)

This commit is contained in:
busywhitespace 2022-12-14 17:57:02 +01:00 committed by GitHub
parent 5693f45b19
commit 9663853800
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 17 additions and 3 deletions

View File

@ -52,6 +52,7 @@ and work with streams:
limit=None, ssl=None, family=0, proto=0, \
flags=0, sock=None, local_addr=None, \
server_hostname=None, ssl_handshake_timeout=None, \
ssl_shutdown_timeout=None, \
happy_eyeballs_delay=None, interleave=None)
Establish a network connection and return a pair of
@ -82,6 +83,9 @@ and work with streams:
.. versionchanged:: 3.10
Removed the *loop* parameter.
.. versionchanged:: 3.11
Added the *ssl_shutdown_timeout* parameter.
.. coroutinefunction:: start_server(client_connected_cb, host=None, \
port=None, *, limit=None, \
@ -89,7 +93,7 @@ and work with streams:
flags=socket.AI_PASSIVE, sock=None, \
backlog=100, ssl=None, reuse_address=None, \
reuse_port=None, ssl_handshake_timeout=None, \
start_serving=True)
ssl_shutdown_timeout=None, start_serving=True)
Start a socket server.
@ -121,12 +125,15 @@ and work with streams:
.. versionchanged:: 3.10
Removed the *loop* parameter.
.. versionchanged:: 3.11
Added the *ssl_shutdown_timeout* parameter.
.. rubric:: Unix Sockets
.. coroutinefunction:: open_unix_connection(path=None, *, limit=None, \
ssl=None, sock=None, server_hostname=None, \
ssl_handshake_timeout=None)
ssl_handshake_timeout=None, ssl_shutdown_timeout=None)
Establish a Unix socket connection and return a pair of
``(reader, writer)``.
@ -150,10 +157,14 @@ and work with streams:
.. versionchanged:: 3.10
Removed the *loop* parameter.
.. versionchanged:: 3.11
Added the *ssl_shutdown_timeout* parameter.
.. coroutinefunction:: start_unix_server(client_connected_cb, path=None, \
*, limit=None, sock=None, backlog=100, ssl=None, \
ssl_handshake_timeout=None, start_serving=True)
ssl_handshake_timeout=None, \
ssl_shutdown_timeout=None, start_serving=True)
Start a Unix socket server.
@ -176,6 +187,9 @@ and work with streams:
.. versionchanged:: 3.10
Removed the *loop* parameter.
.. versionchanged:: 3.11
Added the *ssl_shutdown_timeout* parameter.
StreamReader
============