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/httpshim/httpshim.h

Committer:
andrewboyson
Date:
2019-05-15
Revision:
146:0fc66d610fd6
Child:
147:a6093b52e654

File content as of revision 146:0fc66d610fd6:

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

extern void HttpShimRequest(int size, char* pRequestStream, uint32_t positionInRequestStream, char* pState, bool secure);

extern bool HttpShimReplyPoll(char* pState, bool clientFinished, bool secure);

extern void HttpShimAddChar(char c);

extern bool HttpShimBufFilled(void);

extern bool HttpShimGetTrace(void);