-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Add support for http proxy to esp8266 http client #8094
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from 1 commit
2f12c18
1784957
891d8ac
334b303
1934ef4
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -177,6 +177,7 @@ class HTTPClient | |
void setAuthorization(const char * user, const char * password); | ||
void setAuthorization(const char * auth); | ||
void setTimeout(uint16_t timeout); | ||
bool setProxyHost(const String &proxyUrl); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Sample usage
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. What about putting a line in the documentation, or adding an example ? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. sure, can you point me to where those are located? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here's the HTTPClient examples location. Documentation is ... |
||
|
||
// Redirections | ||
void setFollowRedirects(followRedirects_t follow); | ||
|
@@ -247,6 +248,11 @@ class HTTPClient | |
String _userAgent; | ||
String _base64Authorization; | ||
|
||
bool _useProxy = false; | ||
ChrisSmith marked this conversation as resolved.
Show resolved
Hide resolved
|
||
String _proxyHost; | ||
String _proxyProtocol; | ||
uint16_t _proxyPort = 0; | ||
|
||
/// Response handling | ||
RequestArgument* _currentHeaders = nullptr; | ||
size_t _headerKeysCount = 0; | ||
|
Uh oh!
There was an error while loading. Please reload this page.