Searched refs:server_name_callback (Results 1 – 3 of 3) sorted by relevance
436 def set_servername_callback(self, server_name_callback): argument437 if server_name_callback is None:440 if not callable(server_name_callback):445 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
1722 .. attribute:: SSLContext.set_servername_callback(server_name_callback)1725 you should use :attr:`sni_callback` instead. The given *server_name_callback*1727 IDN-encoded internationalized domain name, the *server_name_callback*2469 - The *server_name_callback* callback passed to