MCPcopy Create free account
hub / github.com/GlobalTechInfo/MEGA-MD / __init__

Method __init__

lib/speed.py:458–467  ·  view source on GitHub ↗
(self, *args, **kwargs)

Source from the content-addressed store, hash-verified

456 default_port = 443
457
458 def __init__(self, *args, **kwargs):
459 source_address = kwargs.pop('source_address', None)
460 timeout = kwargs.pop('timeout', 10)
461
462 self._tunnel_host = None
463
464 HTTPSConnection.__init__(self, *args, **kwargs)
465
466 self.timeout = timeout
467 self.source_address = source_address
468
469 def connect(self):
470 "Connect to a host on a given (SSL) port."

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected