Searched refs:set_alpn_protocols (Results 1 – 8 of 8) sorted by relevance
382 def set_alpn_protocols(self, alpn_protocols): member in SSLContext
1798 self.context.set_alpn_protocols(alpn_protocols)2947 server_context.set_alpn_protocols(['foo', 'bar'])2964 server_context.set_alpn_protocols(server_protocols)2967 client_context.set_alpn_protocols(client_protocols)
449 def set_alpn_protocols(self, alpn_protocols): member in SSLContext
2395 self.context.set_alpn_protocols(alpn_protocols)3913 server_context.set_alpn_protocols(['foo', 'bar'])3930 server_context.set_alpn_protocols(server_protocols)3931 client_context.set_alpn_protocols(client_protocols)
1001 :meth:`SSLContext.set_alpn_protocols` was not called, if the other party does1182 .. method:: SSLContext.set_alpn_protocols(protocols)
1779 The new :meth:`SSLContext.set_alpn_protocols() <ssl.SSLContext.set_alpn_protocols>`
1293 :meth:`SSLContext.set_alpn_protocols` was not called, if the other party does1642 .. method:: SSLContext.set_alpn_protocols(protocols)
105 "ssl_ctx.set_alpn_protocols(['h2']) # h2 is a RFC7540-hardcoded value\n",