Closed Ra2-IFV closed 4 weeks ago
This pull request introduces a new proxy feature that allows setting a proxy in the configuration. The changes involve retrieving the proxy configuration from GlobalConfig and updating all aiohttp.ClientSession and httpx.AsyncClient calls to include the proxy parameter.
Files | Changes |
---|---|
utils/bf1/bf_utils.py utils/bf1/gateway_api.py utils/bf1/draw/__init__.py |
Introduced proxy support by adding proxy configuration retrieval and updating aiohttp.ClientSession and httpx.AsyncClient calls to include the proxy parameter. |
stfu stupid ai words are useless
write a contributing guide bro
On August 30, 2024 1:33:39 AM UTC, "十三" @.***> wrote:
@g1331 approved this pull request.
If all global variable names are prefixed with
g_
, it would be better.-- Reply to this email directly or view it on GitHub: https://github.com/g1331/xiaomai-bot/pull/36#pullrequestreview-2270760585 You are receiving this because you authored the thread.
Message ID: @.***>
Now you can set proxy in configuration.
Summary by Sourcery
Add support for configuring a proxy for HTTP requests and update relevant functions to utilize the proxy setting.
New Features:
Enhancements: