mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Add hostname_checks_common_name attribute to SSLContext (#4160)
This commit is contained in:
@@ -323,6 +323,7 @@ class SSLContext:
|
||||
server_hostname: Optional[str] = ...) -> SSLObject: ...
|
||||
def session_stats(self) -> Dict[str, int]: ...
|
||||
if sys.version_info >= (3, 7):
|
||||
hostname_checks_common_name: bool
|
||||
maximum_version: TLSVersion
|
||||
minimum_version: TLSVersion
|
||||
|
||||
|
||||
Reference in New Issue
Block a user