2022-11-13 18:41:23 +08:00
|
|
|
class Response:
|
|
|
|
content_length: int
|
|
|
|
text: str
|
|
|
|
state_code: int
|
2022-11-22 21:05:05 +08:00
|
|
|
headers: str
|
2022-11-13 18:41:23 +08:00
|
|
|
url: str
|
2022-11-22 21:05:05 +08:00
|
|
|
session_address: int
|
2022-11-13 18:41:23 +08:00
|
|
|
|
|
|
|
def json(self) -> dict: ...
|
|
|
|
|
2022-11-22 21:05:05 +08:00
|
|
|
def request(self, method: str, **kwargs) -> int: ...
|
|
|
|
def request_init(self, method: str) -> int: ...
|
|
|
|
def request_del(self, ) -> None: ...
|
|
|
|
def proto_write(self, proto: str = None) -> int: ...
|
|
|
|
def urlencode_write(self, s1: str, s2: str = None, start: str = None, connect: str = None) -> int: ...
|
|
|
|
def header_write(self, header: str, value: str) -> int: ...
|
2022-11-13 18:41:23 +08:00
|
|
|
|
2022-11-22 21:05:05 +08:00
|
|
|
def __init__(): ...
|
|
|
|
def __del__(): ...
|