MCPcopy Index your code
hub / github.com/catchpoint/WebPageTest.tsproxy / handle_connect

Method handle_connect

tsproxy.py:290–295  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

288 pass
289
290 def handle_connect(self):
291 if self.state == self.STATE_CONNECTING:
292 self.state = self.STATE_CONNECTED
293 self.SendMessage('connected', {'success': True, 'address': self.addr})
294 logging.info('[{0:d}] Connected'.format(self.client_id))
295 self.handle_write()
296
297 def writable(self):
298 if self.state == self.STATE_CONNECTING:

Callers

nothing calls this directly

Calls 2

SendMessageMethod · 0.95
handle_writeMethod · 0.95

Tested by

no test coverage detected