#ifndef TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
#define TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
{{#isESP8266}}
#include <WiFiClient.h>
#include <ESP8266HTTPClient.h>
{{/isESP8266}}

{{#isESP32}}
#include "HTTPClient.h"
{{/isESP32}}
#include "Response.h"
namespace Tiny {

/**
*  Class
* Generated with openapi::tiny-cpp-client
*/
class AbstractService {
public:
HTTPClient http;
{{#isESP8266}}
WiFiClient client;
{{/isESP8266}}
std::string basepath = "https://petstore3.swagger.io/api/v3"; // TODO: change to your url

void begin(std::string url);

{{#isESP32}}
// Go and comment out a certificate in root.cert, if you get an error here
// Certificate from file
const char* test_root_ca =
#include "../../root.cert"
;
{{/isESP32}}

}; // end class
}// namespace Tinyclient

#endif /* TINY_CPP_CLIENT_ABSTRACTSERVICE_H_ */
