mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
Improve asyncio callbacks (#8192)
This commit is contained in:
@@ -57,8 +57,8 @@ if sys.version_info < (3, 11):
|
||||
def need_ssldata(self) -> bool: ...
|
||||
@property
|
||||
def wrapped(self) -> bool: ...
|
||||
def do_handshake(self, callback: Callable[[BaseException | None], None] | None = ...) -> list[bytes]: ...
|
||||
def shutdown(self, callback: Callable[[], None] | None = ...) -> list[bytes]: ...
|
||||
def do_handshake(self, callback: Callable[[BaseException | None], object] | None = ...) -> list[bytes]: ...
|
||||
def shutdown(self, callback: Callable[[], object] | None = ...) -> list[bytes]: ...
|
||||
def feed_eof(self) -> None: ...
|
||||
def feed_ssldata(self, data: bytes, only_handshake: bool = ...) -> tuple[list[bytes], list[bytes]]: ...
|
||||
def feed_appdata(self, data: bytes, offset: int = ...) -> tuple[list[bytes], int]: ...
|
||||
|
||||
Reference in New Issue
Block a user