28 lines
705 B
Python
Raw Normal View History

class Response:
content_length: int
text: str
state_code: int
2022-11-22 21:05:05 +08:00
headers: str
url: str
2022-11-24 23:28:37 +08:00
url_address: int
2022-11-22 21:05:05 +08:00
session_address: int
def json(self) -> dict: ...
def request(self,
method: str,
url: str,
timeout: float,
data: str) -> int: ...
2022-11-22 21:05:05 +08:00
def request_init(self, method: str) -> int: ...
2022-11-23 23:58:14 +08:00
def request_del(self) -> None: ...
def proto_write(self, proto: str) -> int: ...
def urlencode_write(self, s1: str, s2: str, start: str,
connect: str) -> int: ...
2022-11-22 21:05:05 +08:00
def header_write(self, header: str, value: str) -> int: ...
2022-11-23 23:58:14 +08:00
def __init__(self): ...
def __del__(self): ...