Go to the documentation of this file.
14 #include "IPAddress.h"
18 #define USE_HTTP 0 // HTTP 1.1
19 #define USE_HTTPS 2 // HTTP 1.1 over TLS
26 int connect(IPAddress ip, uint16_t port,
int http_version,
char* login,
char* passwd);
27 int connect(
char* url, uint16_t port,
int http_version,
char* login,
char* passwd);
30 int get(
char* uri,
char* buff,
bool show_resp);
31 int head(
char* uri,
char* buff);
32 int post(
char* uri,
char* buff,
bool show_resp);
33 int put(
char* uri,
char* sndbuff,
char* rcvbuff,
bool show_resp);
44 #endif // HL7800_HTTP_H
int put(char *uri, char *sndbuff, char *rcvbuff, bool show_resp)
Definition: hl7800_http.cpp:348
bool connected()
Definition: hl7800_http.cpp:392
int get(char *uri, char *buff, bool show_resp)
Definition: hl7800_http.cpp:215
int config(char *header)
Definition: hl7800_http.cpp:173
Definition: hl7800_http.h:23
HL7800Http()
Definition: hl7800_http.cpp:99
int connect(IPAddress ip, uint16_t port, int http_version, char *login, char *passwd)
Definition: hl7800_http.cpp:112
void close()
Definition: hl7800_http.cpp:401
int post(char *uri, char *buff, bool show_resp)
Definition: hl7800_http.cpp:294
int head(char *uri, char *buff)
Definition: hl7800_http.cpp:256