PyDocs

Nav

Networking and Interprocess Communication

SSLSocket.server_hostname

ssl

attribute of SSLSocket · Added in 3.2not WASI
Hostname of the server: str type, or None for server-side socket or if the hostname was not specified in the constructor.
Changed in 3.7
  • 3.7: The attribute is now always ASCII text. When server_hostname is an internationalized domain name (IDN), this attribute now stores the A-label form ("xn--pythn-mua.org"), rather than the U-label form ("pythön.org").
0 Examples
No examples for ssl/SSLSocket.server_hostname.
See Also
No see-alsos for ssl/SSLSocket.server_hostname
0 Notes
No notes for SSLSocket.server_hostname