esp8266-restclient
esp8266-restclient copied to clipboard
RestClient.cpp: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify' (when compiling with esp8266 3.0.1)
- Installed latest Arduino IDE 1.8.15 on Windows 10
- Installed latest esp8266 3.0.1 via https://arduino.esp8266.com/stable/package_esp8266com_index.json
- Selected "LOLIN(WEMOS) D1 R2 & mini" board type
- Copied RestClient[.cpp,.h] into examples/simple_POST
- Opened simple_Post.ino and attempted to compile. Generates the following error:
C:\tmp\esp8266-restclient\examples\simple_POST\RestClient.cpp: In member function 'int RestClient::request(const char*, const char*, const char*, String*)':
C:\tmp\esp8266-restclient\examples\simple_POST\RestClient.cpp:167:27: error: 'class BearSSL::WiFiClientSecure' has no member named 'verify'
167 | if (sslClient.verify(fingerprint, host)) {
| ^~~~~~