MCPcopy Create free account
hub / github.com/Drakkar-Software/OctoBot / proxy_callback

Function proxy_callback

additional_tests/exchanges_tests/__init__.py:74–75  ·  view source on GitHub ↗
(url: str, method: str, headers: dict, body)

Source from the content-addressed store, hash-verified

72 proxy_url = os.environ["PROXY_URL"]
73 def _http_proxy_callback_factory(_):
74 def proxy_callback(url: str, method: str, headers: dict, body) -> str:
75 return proxy_url
76 return proxy_callback
77 return _http_proxy_callback_factory
78 return None

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected