mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2026-06-14 11:56:32 +03:00
remove HTTPClient
This commit is contained in:
@@ -1,24 +0,0 @@
|
||||
#ifndef HTTPClient_H_
|
||||
#define HTTPClient_H_
|
||||
|
||||
#include "WString.h"
|
||||
|
||||
class HTTPClient {
|
||||
public:
|
||||
bool begin(String url) {
|
||||
return true;
|
||||
};
|
||||
void end(void) {};
|
||||
int GET() {
|
||||
return 200;
|
||||
};
|
||||
int POST(String payload) {
|
||||
return 200;
|
||||
};
|
||||
void addHeader(const String & name, const String & value, bool first = false, bool replace = true) {};
|
||||
String getString(void) {
|
||||
return "Hello, World!";
|
||||
};
|
||||
};
|
||||
|
||||
#endif /* HTTPClient_H_ */
|
||||
Reference in New Issue
Block a user