MCPcopy Create free account
hub / github.com/TheSmallHanCat/flow2api / get_request_proxy_url

Method get_request_proxy_url

src/services/proxy_manager.py:116–121  ·  view source on GitHub ↗

Get request proxy URL if enabled, otherwise return None

(self)

Source from the content-addressed store, hash-verified

114 return await self.get_request_proxy_url()
115
116 async def get_request_proxy_url(self) -> Optional[str]:
117 """Get request proxy URL if enabled, otherwise return None"""
118 config = await self.db.get_proxy_config()
119 if config and config.enabled and config.proxy_url:
120 return config.proxy_url
121 return None
122
123 async def get_media_proxy_url(self) -> Optional[str]:
124 """Get media upload/download proxy URL, fallback to request proxy"""

Callers 8

get_proxy_urlMethod · 0.95
get_media_proxy_urlMethod · 0.95
_make_requestMethod · 0.45
_make_text_requestMethod · 0.45
_get_recaptcha_tokenMethod · 0.45

Calls 1

get_proxy_configMethod · 0.45

Tested by

no test coverage detected