1
0
mirror of https://github.com/arduino-libraries/ArduinoHttpClient.git synced 2025-10-22 10:52:21 +03:00

Remove proxy support (for now)

This commit is contained in:
Sandeep Mistry
2016-06-17 10:13:56 -04:00
parent ad9bd94136
commit e3a6c20cd9
2 changed files with 7 additions and 87 deletions

View File

@@ -44,11 +44,7 @@ public:
// FIXME Write longer API request, using port and user-agent, example
// FIXME Update tempToPachube example to calculate Content-Length correctly
#ifdef PROXY_ENABLED // currently disabled as introduces dependency on Dns.h in Ethernet
HttpClient(Client& aClient, const char* aProxy =NULL, uint16_t aProxyPort =0);
#else
HttpClient(Client& aClient);
#endif
/** Start a more complex request.
Use this when you need to send additional headers in the request,
@@ -440,11 +436,6 @@ 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;
};