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:
- 71:736a5747ade1
- Parent:
- 61:aad055f1b0d1
- Child:
- 73:43e3d7fb3d60
--- a/tcp/http/http.h Fri Feb 16 17:31:52 2018 +0000 +++ b/tcp/http/http.h Sat Oct 20 18:56:13 2018 +0000 @@ -21,7 +21,8 @@ extern void (*HttpReplyFunction)(int todo); extern bool HttpTrace; -extern int HttpHandleRequest(int* pSize, char* pRequestStream, int positionInRequestStream, char* pReplyStream, int positionInReplyStream, uint16_t mss, int* pToDo); +extern void HttpHandleRequest(int* pSize, char* pRequestStream, int positionInRequestStream, int* pToDo); +extern void HttpSendReply (int* pSize, char* pReplyStream, int positionInReplyStream, uint16_t mss, int todo); extern void HttpDateFromDateTime(const char* date, const char *ptime, char* ptext); extern void HttpDateFromNow(char* pText);