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

Method shim_cb

tools/python-3.11.9-amd64/Lib/ssl.py:560–562  ·  view source on GitHub ↗
(sslobj, servername, sslctx)

Source from the content-addressed store, hash-verified

558 raise TypeError("not a callable object")
559
560 def shim_cb(sslobj, servername, sslctx):
561 servername = self._encode_hostname(servername)
562 return server_name_callback(sslobj, servername, sslctx)
563
564 self.sni_callback = shim_cb
565

Callers

nothing calls this directly

Calls 1

_encode_hostnameMethod · 0.95

Tested by

no test coverage detected