PyDocs

Nav

Networking and Interprocess Communication

StreamWriter.start_tls

asyncio

async method of StreamWriter · Added in 3.11 (source) not WASI
  • StreamWriter.start_tls(sslcontext, *, server_hostname=None, ssl_handshake_timeout=None, ssl_shutdown_timeout=None)
Upgrade an existing stream-based connection to TLS.
Changed in 3.12, 3.15
  • 3.12: Added the ssl_shutdown_timeout parameter.
  • 3.15: Raises a ValueError if sslcontext.check_hostname is True and server_hostname is not supplied.
0 Examples
No examples for asyncio/StreamWriter.start_tls.
See Also
No see-alsos for asyncio/StreamWriter.start_tls
0 Notes
No notes for StreamWriter.start_tls