Searched refs:server_name_callback (Results 1 – 3 of 3) sorted by relevance
531 def set_servername_callback(self, server_name_callback): argument532 if server_name_callback is None:535 if not callable(server_name_callback):540 return server_name_callback(sslobj, servername, sslctx)
1213 .. method:: SSLContext.set_servername_callback(server_name_callback)1220 Only one callback can be set per ``SSLContext``. If *server_name_callback*1224 The callback function, *server_name_callback*, will be called with three1244 The *server_name_callback* function must return ``None`` to allow the1254 If an exception is raised from the *server_name_callback* function the TLS
1734 .. attribute:: SSLContext.set_servername_callback(server_name_callback)1737 you should use :attr:`sni_callback` instead. The given *server_name_callback*1739 IDN-encoded internationalized domain name, the *server_name_callback*2517 - The *server_name_callback* callback passed to