Skip to content

Add method setProxy() for CurlHttpClient#352

Merged
reo7sp merged 4 commits intoreo7sp:masterfrom
Tomat7:master
Apr 14, 2026
Merged

Add method setProxy() for CurlHttpClient#352
reo7sp merged 4 commits intoreo7sp:masterfrom
Tomat7:master

Conversation

@Tomat7
Copy link
Copy Markdown

@Tomat7 Tomat7 commented Apr 14, 2026

New method setProxy() allows to set 'http' or 'sock5' proxy and change (optional) connection timeout for CurlHttpClient class.
setProxy(), setProxy(NULL) or not-call = direct connection to API without proxy.

void setProxy(const char* url = NULL, long timeout = 20L)

An example of setting/changing the proxy has also added - /samples/echobot-curl-proxy-carousel.

@reo7sp reo7sp merged commit e79ac64 into reo7sp:master Apr 14, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants