MCPcopy Create free account
hub / github.com/EasyIME/PIME / connect

Method connect

python/python3/tornado/test/httpserver_test.py:835–837  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

833 # The next few methods are a crude manual http client
834 @gen.coroutine
835 def connect(self):
836 self.stream = IOStream(socket.socket())
837 yield self.stream.connect(("127.0.0.1", self.get_http_port()))
838
839 @gen.coroutine
840 def read_headers(self):

Callers 14

test_two_requestsMethod · 0.95
test_request_closeMethod · 0.95
test_http10Method · 0.95
test_http10_keepaliveMethod · 0.95
test_pipelined_cancelMethod · 0.95
raw_fetchMethod · 0.45

Calls 2

IOStreamClass · 0.90
get_http_portMethod · 0.80

Tested by

no test coverage detected