mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-24 21:01:52 +08:00
Added explicit SSLSocket.accept() definition (#3564)
This commit is contained in:
committed by
Sebastian Rittau
parent
64252bfef4
commit
7b5e9dca48
@@ -219,6 +219,7 @@ class SSLSocket(socket.socket):
|
||||
def get_channel_binding(self, cb_type: str = ...) -> Optional[bytes]: ...
|
||||
def selected_alpn_protocol(self) -> Optional[str]: ...
|
||||
def selected_npn_protocol(self) -> Optional[str]: ...
|
||||
def accept(self) -> Tuple[SSLSocket, socket._RetAddress]: ...
|
||||
def unwrap(self) -> socket.socket: ...
|
||||
def version(self) -> Optional[str]: ...
|
||||
def pending(self) -> int: ...
|
||||
|
||||
Reference in New Issue
Block a user