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@147:a6093b52e654, 2019-05-17 (annotated)
- Committer:
- andrewboyson
- Date:
- Fri May 17 15:01:32 2019 +0000
- Revision:
- 147:a6093b52e654
- Parent:
- 146:0fc66d610fd6
- Child:
- 154:ba9879b19d9f
Split HttpPollReply into HttpPoll and HttpReply to allow TSL to work
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
andrewboyson | 146:0fc66d610fd6 | 1 | #include <stdint.h> |
andrewboyson | 146:0fc66d610fd6 | 2 | #include <stdbool.h> |
andrewboyson | 146:0fc66d610fd6 | 3 | |
andrewboyson | 147:a6093b52e654 | 4 | extern void HttpShimRequest (int size, char* pRequestStream, uint32_t positionInRequestStream, char* pWebState, char* pTlsState, bool secure); |
andrewboyson | 147:a6093b52e654 | 5 | extern bool HttpShimPoll (bool clientFinished, char* pWebState, char* pTlsState, bool secure); |
andrewboyson | 147:a6093b52e654 | 6 | extern bool HttpShimReply ( char* pWebState, char* pTlsState); |
andrewboyson | 147:a6093b52e654 | 7 | extern void HttpShimAddChar (char c); |
andrewboyson | 146:0fc66d610fd6 | 8 | extern bool HttpShimBufFilled(void); |
andrewboyson | 147:a6093b52e654 | 9 | extern bool HttpShimGetTrace (void); |