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

File content as of revision 156:be12b8fd5b21:

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

extern void HttpShimReset    (int connection, bool secure);
extern void HttpShimRequest  (int connection, bool secure, int size, char* pRequestStream, uint32_t positionInRequestStream);
extern bool HttpShimPoll     (int connection, bool secure, bool clientFinished);
extern void HttpShimAddChar  (char c);
extern bool HttpShimBufFilled(void);
extern bool HttpShimGetTrace (void);