You've already forked ArduinoHttpClient
mirror of
https://github.com/arduino-libraries/ArduinoHttpClient.git
synced 2025-08-12 12:02:43 +03:00
Wrap proxy member var declarations in #ifdef
This commit is contained in:
@@ -29,7 +29,7 @@ HttpClient::HttpClient(Client& aClient, const char* aProxy, uint16_t aProxyPort)
|
||||
}
|
||||
#else
|
||||
HttpClient::HttpClient(Client& aClient)
|
||||
: iClient(&aClient), iProxyPort(0)
|
||||
: iClient(&aClient)
|
||||
{
|
||||
resetState();
|
||||
}
|
||||
|
@@ -440,9 +440,11 @@ protected:
|
||||
int iBodyLengthConsumed;
|
||||
// How far through a Content-Length header prefix we are
|
||||
const char* iContentLengthPtr;
|
||||
#ifdef PROXY_ENABLED
|
||||
// Address of the proxy to use, if we're using one
|
||||
IPAddress iProxyAddress;
|
||||
uint16_t iProxyPort;
|
||||
#endif
|
||||
uint32_t iHttpResponseTimeout;
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user