massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / coc-python-data / languageServer.0.5.59 / Typeshed / third_party / 2 / tornado / httpclient.pyi
diff --git a/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/httpclient.pyi b/.config/coc/extensions/coc-python-data/languageServer.0.5.59/Typeshed/third_party/2/tornado/httpclient.pyi
new file mode 100644 (file)
index 0000000..a0e04d5
--- /dev/null
@@ -0,0 +1,108 @@
+from typing import Any\r
+from tornado.util import Configurable\r
+\r
+class HTTPClient:\r
+    def __init__(self, async_client_class=..., **kwargs) -> None: ...\r
+    def __del__(self): ...\r
+    def close(self): ...\r
+    def fetch(self, request, **kwargs): ...\r
+\r
+class AsyncHTTPClient(Configurable):\r
+    @classmethod\r
+    def configurable_base(cls): ...\r
+    @classmethod\r
+    def configurable_default(cls): ...\r
+    def __new__(cls, io_loop=..., force_instance=..., **kwargs): ...\r
+    io_loop = ...  # type: Any\r
+    defaults = ...  # type: Any\r
+    def initialize(self, io_loop, defaults=...): ...\r
+    def close(self): ...\r
+    def fetch(self, request, callback=..., raise_error=..., **kwargs): ...\r
+    def fetch_impl(self, request, callback): ...\r
+    @classmethod\r
+    def configure(cls, impl, **kwargs): ...\r
+\r
+class HTTPRequest:\r
+    headers = ...  # type: Any\r
+    proxy_host = ...  # type: Any\r
+    proxy_port = ...  # type: Any\r
+    proxy_username = ...  # type: Any\r
+    proxy_password = ...  # type: Any\r
+    url = ...  # type: Any\r
+    method = ...  # type: Any\r
+    body = ...  # type: Any\r
+    body_producer = ...  # type: Any\r
+    auth_username = ...  # type: Any\r
+    auth_password = ...  # type: Any\r
+    auth_mode = ...  # type: Any\r
+    connect_timeout = ...  # type: Any\r
+    request_timeout = ...  # type: Any\r
+    follow_redirects = ...  # type: Any\r
+    max_redirects = ...  # type: Any\r
+    user_agent = ...  # type: Any\r
+    decompress_response = ...  # type: Any\r
+    network_interface = ...  # type: Any\r
+    streaming_callback = ...  # type: Any\r
+    header_callback = ...  # type: Any\r
+    prepare_curl_callback = ...  # type: Any\r
+    allow_nonstandard_methods = ...  # type: Any\r
+    validate_cert = ...  # type: Any\r
+    ca_certs = ...  # type: Any\r
+    allow_ipv6 = ...  # type: Any\r
+    client_key = ...  # type: Any\r
+    client_cert = ...  # type: Any\r
+    ssl_options = ...  # type: Any\r
+    expect_100_continue = ...  # type: Any\r
+    start_time = ...  # type: Any\r
+    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
+    @property\r
+    def headers(self): ...\r
+    @headers.setter\r
+    def headers(self, value): ...\r
+    @property\r
+    def body(self): ...\r
+    @body.setter\r
+    def body(self, value): ...\r
+    @property\r
+    def body_producer(self): ...\r
+    @body_producer.setter\r
+    def body_producer(self, value): ...\r
+    @property\r
+    def streaming_callback(self): ...\r
+    @streaming_callback.setter\r
+    def streaming_callback(self, value): ...\r
+    @property\r
+    def header_callback(self): ...\r
+    @header_callback.setter\r
+    def header_callback(self, value): ...\r
+    @property\r
+    def prepare_curl_callback(self): ...\r
+    @prepare_curl_callback.setter\r
+    def prepare_curl_callback(self, value): ...\r
+\r
+class HTTPResponse:\r
+    request = ...  # type: Any\r
+    code = ...  # type: Any\r
+    reason = ...  # type: Any\r
+    headers = ...  # type: Any\r
+    buffer = ...  # type: Any\r
+    effective_url = ...  # type: Any\r
+    error = ...  # type: Any\r
+    request_time = ...  # type: Any\r
+    time_info = ...  # type: Any\r
+    def __init__(self, request, code, headers=..., buffer=..., effective_url=..., error=..., request_time=..., time_info=..., reason=...) -> None: ...\r
+    body = ...  # type: Any\r
+    def rethrow(self): ...\r
+\r
+class HTTPError(Exception):\r
+    code = ...  # type: Any\r
+    response = ...  # type: Any\r
+    def __init__(self, code, message=..., response=...) -> None: ...\r
+\r
+class _RequestProxy:\r
+    request = ...  # type: Any\r
+    defaults = ...  # type: Any\r
+    def __init__(self, request, defaults) -> None: ...\r
+    def __getattr__(self, name): ...\r
+\r
+def main(): ...\r