MCPcopy Index your code
hub / github.com/RustPython/RustPython / do_handshake

Method do_handshake

Lib/ssl.py:1366–1374  ·  view source on GitHub ↗
(self, block=False)

Source from the content-addressed store, hash-verified

1364
1365 @_sslcopydoc
1366 def do_handshake(self, block=False):
1367 self._check_connected()
1368 timeout = self.gettimeout()
1369 try:
1370 if timeout == 0.0 and block:
1371 self.settimeout(None)
1372 self._sslobj.do_handshake()
1373 finally:
1374 self.settimeout(timeout)
1375
1376 def _real_connect(self, addr, connect_ex):
1377 if self.server_side:

Callers 2

_createMethod · 0.95
_real_connectMethod · 0.95

Calls 4

_check_connectedMethod · 0.95
gettimeoutMethod · 0.45
settimeoutMethod · 0.45
do_handshakeMethod · 0.45

Tested by

no test coverage detected