HTTP/WebSocket proxy middleware for Starlette/FastAPI, version 0.3.0, allowing you to add a reverse proxy endpoint with minimal code. Released as needed.
pip install fastapi-proxy-libVerified import paths — ran on the pinned version, not inferred.
Creates a FastAPI app with a catch-all proxy endpoint that forwards requests to httpbin.
Update to `await reverse_proxy('https://target.com/path')` instead of `await reverse_proxy(request, url='https://target.com/path')`.Always provide a fully qualified URL (including scheme and host) to `reverse_proxy`.
Replace `add_route_proxy(app, ...)` with a custom route that calls `reverse_proxy`.