All Downloads are FREE. Search and download functionalities are using the official Maven repository.

cpp-tiny.service.AbstractService.h.mustache Maven / Gradle / Ivy

There is a newer version: 7.10.0
Show newest version
#ifndef TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
#define TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
{{#isESP8266}}
#include 
#include 
{{/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_ */




© 2015 - 2025 Weber Informatics LLC | Privacy Policy