massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-pyright / node_modules / pyright / dist / typeshed-fallback / stubs / Werkzeug / werkzeug / middleware / http_proxy.pyi
diff --git a/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/middleware/http_proxy.pyi b/.config/coc/extensions/node_modules/coc-pyright/node_modules/pyright/dist/typeshed-fallback/stubs/Werkzeug/werkzeug/middleware/http_proxy.pyi
new file mode 100644 (file)
index 0000000..0285b67
--- /dev/null
@@ -0,0 +1,14 @@
+from _typeshed.wsgi import StartResponse, WSGIApplication, WSGIEnvironment
+from typing import Any, Iterable, Mapping, MutableMapping, Text
+
+_Opts = Mapping[Text, Any]
+_MutableOpts = MutableMapping[Text, Any]
+
+class ProxyMiddleware(object):
+    app: WSGIApplication
+    targets: dict[Text, _MutableOpts]
+    def __init__(
+        self, app: WSGIApplication, targets: Mapping[Text, _MutableOpts], chunk_size: int = ..., timeout: int = ...
+    ) -> None: ...
+    def proxy_to(self, opts: _Opts, path: Text, prefix: Text) -> WSGIApplication: ...
+    def __call__(self, environ: WSGIEnvironment, start_response: StartResponse) -> Iterable[bytes]: ...