/* HTTPS with follow-redirect * Created by Sujay S. Phadke, 2016 * All rights reserved. * * Modified by Daniel Willi, 2016 * */ #include class HTTPSRedirect : public WiFiClientSecure { private: const int httpsPort; const char* redirFingerprint; bool fpCheck = false; bool keepAlive = true; bool verboseInfo = false; public: HTTPSRedirect(const int, const char*, bool); HTTPSRedirect(const int); ~HTTPSRedirect(); String getData(const char*, const char*, const char*); String getData(String&, const char*, const char*); String createRequest(const char*, const char*); void fetchData(bool, bool); };