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

tcp/http/http.c

Committer:
andrewboyson
Date:
2019-05-15
Revision:
146:0fc66d610fd6
Parent:
145:206bf0d073c7
Child:
147:a6093b52e654

File content as of revision 146:0fc66d610fd6:

#include <stdbool.h>
#include <stdint.h>

bool HttpTrace = false;

//Plumb into these from your html server
void (*HttpRequestFunction)(int size, char* pRequestStream, uint32_t positionInRequestStream, char* pState);
bool (*HttpReplyPollFunction)(char* pState, bool clientFinished);