PyDocs

Nav

Networking and Interprocess Communication

SSLContext.set_servername_callback

ssl

method of SSLContext · Added in 3.4 (source) not WASI
  • SSLContext.set_servername_callback(server_name_callback)
This is a legacy API retained for backwards compatibility. When possible, you should use sni_callback instead. The given server_name_callback is similar to sni_callback, except that when the server hostname is an IDN-encoded internationalized domain name, the server_name_callback receives a decoded U-label ("pythön.org").
0 Examples
No examples for ssl/SSLContext.set_servername_callback.
See Also
No see-alsos for ssl/SSLContext.set_servername_callback
0 Notes
No notes for SSLContext.set_servername_callback