1 from typing import Any
\r
2 from tornado.util import Configurable
\r
5 def __init__(self, async_client_class=..., **kwargs) -> None: ...
\r
6 def __del__(self): ...
\r
8 def fetch(self, request, **kwargs): ...
\r
10 class AsyncHTTPClient(Configurable):
\r
12 def configurable_base(cls): ...
\r
14 def configurable_default(cls): ...
\r
15 def __new__(cls, io_loop=..., force_instance=..., **kwargs): ...
\r
16 io_loop = ... # type: Any
\r
17 defaults = ... # type: Any
\r
18 def initialize(self, io_loop, defaults=...): ...
\r
19 def close(self): ...
\r
20 def fetch(self, request, callback=..., raise_error=..., **kwargs): ...
\r
21 def fetch_impl(self, request, callback): ...
\r
23 def configure(cls, impl, **kwargs): ...
\r
26 headers = ... # type: Any
\r
27 proxy_host = ... # type: Any
\r
28 proxy_port = ... # type: Any
\r
29 proxy_username = ... # type: Any
\r
30 proxy_password = ... # type: Any
\r
31 url = ... # type: Any
\r
32 method = ... # type: Any
\r
33 body = ... # type: Any
\r
34 body_producer = ... # type: Any
\r
35 auth_username = ... # type: Any
\r
36 auth_password = ... # type: Any
\r
37 auth_mode = ... # type: Any
\r
38 connect_timeout = ... # type: Any
\r
39 request_timeout = ... # type: Any
\r
40 follow_redirects = ... # type: Any
\r
41 max_redirects = ... # type: Any
\r
42 user_agent = ... # type: Any
\r
43 decompress_response = ... # type: Any
\r
44 network_interface = ... # type: Any
\r
45 streaming_callback = ... # type: Any
\r
46 header_callback = ... # type: Any
\r
47 prepare_curl_callback = ... # type: Any
\r
48 allow_nonstandard_methods = ... # type: Any
\r
49 validate_cert = ... # type: Any
\r
50 ca_certs = ... # type: Any
\r
51 allow_ipv6 = ... # type: Any
\r
52 client_key = ... # type: Any
\r
53 client_cert = ... # type: Any
\r
54 ssl_options = ... # type: Any
\r
55 expect_100_continue = ... # type: Any
\r
56 start_time = ... # type: Any
\r
57 def __init__(self, url, method=..., headers=..., body=..., auth_username=..., auth_password=..., auth_mode=..., connect_timeout=..., request_timeout=..., if_modified_since=..., follow_redirects=..., max_redirects=..., user_agent=..., use_gzip=..., network_interface=..., streaming_callback=..., header_callback=..., prepare_curl_callback=..., proxy_host=..., proxy_port=..., proxy_username=..., proxy_password=..., allow_nonstandard_methods=..., validate_cert=..., ca_certs=..., allow_ipv6=..., client_key=..., client_cert=..., body_producer=..., expect_100_continue=..., decompress_response=..., ssl_options=...) -> None: ...
\r
59 def headers(self): ...
\r
61 def headers(self, value): ...
\r
65 def body(self, value): ...
\r
67 def body_producer(self): ...
\r
68 @body_producer.setter
\r
69 def body_producer(self, value): ...
\r
71 def streaming_callback(self): ...
\r
72 @streaming_callback.setter
\r
73 def streaming_callback(self, value): ...
\r
75 def header_callback(self): ...
\r
76 @header_callback.setter
\r
77 def header_callback(self, value): ...
\r
79 def prepare_curl_callback(self): ...
\r
80 @prepare_curl_callback.setter
\r
81 def prepare_curl_callback(self, value): ...
\r
84 request = ... # type: Any
\r
85 code = ... # type: Any
\r
86 reason = ... # type: Any
\r
87 headers = ... # type: Any
\r
88 buffer = ... # type: Any
\r
89 effective_url = ... # type: Any
\r
90 error = ... # type: Any
\r
91 request_time = ... # type: Any
\r
92 time_info = ... # type: Any
\r
93 def __init__(self, request, code, headers=..., buffer=..., effective_url=..., error=..., request_time=..., time_info=..., reason=...) -> None: ...
\r
94 body = ... # type: Any
\r
95 def rethrow(self): ...
\r
97 class HTTPError(Exception):
\r
98 code = ... # type: Any
\r
99 response = ... # type: Any
\r
100 def __init__(self, code, message=..., response=...) -> None: ...
\r
102 class _RequestProxy:
\r
103 request = ... # type: Any
\r
104 defaults = ... # type: Any
\r
105 def __init__(self, request, defaults) -> None: ...
\r
106 def __getattr__(self, name): ...
\r