A stack which works with or without an Mbed os library. Provides IPv4 or IPv6 with a full 1500 byte buffer.
Dependents: oldheating gps motorhome heating
Diff: tcp/http/http.h
- Revision:
- 109:bca6ebe63e32
- Parent:
- 96:43eb7a110f1a
- Child:
- 110:67c96c143c2a
--- a/tcp/http/http.h Fri Jan 18 11:49:42 2019 +0000 +++ b/tcp/http/http.h Fri Jan 18 14:24:17 2019 +0000 @@ -30,5 +30,8 @@ extern void HttpDateFromDateTime(const char* date, const char *ptime, char* ptext); extern void HttpDateFromNow(char* pText); +extern bool HttpSameStr (const char* pa, const char* pb); +extern bool HttpSameDate(const char* date, const char* time, const char* pOtherDate); + #define HTTP_DATE_LENGTH 30