MCPcopy Create free account
hub / github.com/catchpoint/WebPageTest.tsproxy / __init__

Method __init__

tsproxy.py:232–244  ·  view source on GitHub ↗
(self, client_id)

Source from the content-addressed store, hash-verified

230 STATE_CONNECTED = 3
231
232 def __init__(self, client_id):
233 global options
234 asyncore.dispatcher.__init__(self)
235 self.client_id = client_id
236 self.state = self.STATE_IDLE
237 self.buffer = ''
238 self.addr = None
239 self.dns_thread = None
240 self.hostname = None
241 self.port = None
242 self.needs_config = True
243 self.needs_close = False
244 self.did_resolve = False
245
246 def SendMessage(self, type, message):
247 message['message'] = type

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected