Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: oldheating gps motorhome heating
Diff: web-server-base.h
- Revision:
- 109:3e82f62c7e1f
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/web-server-base.h Mon Apr 29 14:45:30 2019 +0000 @@ -0,0 +1,13 @@ +extern int WebServerBaseDecideWhatToDo(char *pPath, char* pLastModified); +extern void WebServerBaseHandleQuery(int todo, char* pQuery); +extern bool WebServerBaseHandlePost(int todo, int contentLength, int contentStart, int size, char* pRequestStream, uint32_t positionInRequestStream); + +extern void WebServerBaseReply(int todo); + +#define DO_NOTHING 0 +#define DO_NOT_FOUND 1 +#define DO_NOT_MODIFIED 2 +#define DO_LOGIN 3 +#define DO_BASE 100 +#define DO_DERIVED 200 +#define DO_SEND_SESSION_ID 300 \ No newline at end of file