MCPcopy
hub / github.com/tornadoweb/tornado / _make_server_iostream

Method _make_server_iostream

tornado/test/iostream_test.py:945–952  ·  view source on GitHub ↗
(self, connection, **kwargs)

Source from the content-addressed store, hash-verified

943
944class TestIOStreamSSL(TestIOStreamMixin):
945 def _make_server_iostream(self, connection, **kwargs):
946 ssl_ctx = ssl_options_to_context(_server_ssl_options(), server_side=True)
947 connection = ssl_ctx.wrap_socket(
948 connection,
949 server_side=True,
950 do_handshake_on_connect=False,
951 )
952 return SSLIOStream(connection, **kwargs)
953
954 def _make_client_iostream(self, connection, **kwargs):
955 return SSLIOStream(

Callers

nothing calls this directly

Calls 3

ssl_options_to_contextFunction · 0.90
SSLIOStreamClass · 0.90
_server_ssl_optionsFunction · 0.85

Tested by

no test coverage detected