im trying to use the ESP32 rest client library but it looks to be built on WiFiClientSecure.h and WiFi.h which are both defunct libraries. i changed the #include to be in the library files but even though WiFiS3 has a WiFiClientSecure keyword listed, it returns an error on that keyword. i think this is also what is causing the connection issues when i try to connect to google.com for example.
Documents\Arduino\libraries\ESP32_Rest_Client/RestClient.h:26:5: error: 'WiFiClientSecure' does not name a type; did you mean 'WiFiClient'?
WiFiClientSecure client;
^~~~~~~~~~~~~~~~
WiFiClient