MCPcopy Create free account
hub / github.com/RT-Thread/env-windows / do_handshake

Method do_handshake

tools/python-3.11.9-amd64/Lib/ssl.py:1376–1384  ·  view source on GitHub ↗
(self, block=False)

Source from the content-addressed store, hash-verified

1374
1375 @_sslcopydoc
1376 def do_handshake(self, block=False):
1377 self._check_connected()
1378 timeout = self.gettimeout()
1379 try:
1380 if timeout == 0.0 and block:
1381 self.settimeout(None)
1382 self._sslobj.do_handshake()
1383 finally:
1384 self.settimeout(timeout)
1385
1386 def _real_connect(self, addr, connect_ex):
1387 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