Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tornadoweb/tornado
/ connect
Method
connect
tornado/test/tcpserver_test.py:93–99 ·
view source on GitHub ↗
(c)
Source
from the content-addressed store, hash-verified
91
92
@gen.coroutine
93
def
connect(c):
94
try
:
95
yield
c.connect(server_addr)
96
except
OSError:
97
pass
98
else
:
99
connected_clients.append(c)
100
101
yield
[connect(c)
for
c in clients]
102
Callers
14
do_test_connect
Method · 0.45
test_refused_ipv4
Method · 0.45
test_connect_timeout
Method · 0.45
test_read_until_close
Method · 0.45
test_read_zero_bytes
Method · 0.45
test_write_while_connecting
Method · 0.45
test_future_interface
Method · 0.45
test_future_close_while_reading
Method · 0.45
test_future_read_until_close
Method · 0.45
make_iostream_pair
Method · 0.45
setUp
Method · 0.45
asyncSetUp
Method · 0.45
Calls
1
append
Method · 0.80
Tested by
no test coverage detected