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-08-28
Revision:
156:be12b8fd5b21
Parent:
154:ba9879b19d9f

File content as of revision 156:be12b8fd5b21:

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

bool HttpTrace = false;

//Plumb into these from your html server
void (*HttpFunctionReset  )(int connection);
void (*HttpFunctionRequest)(int connection, int size, char* pRequestStream, uint32_t positionInRequestStream);
bool (*HttpFunctionPoll   )(int connection, bool clientFinished);