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@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 | 61:aad055f1b0d1 | 1 | #include <stdbool.h> |
andrewboyson | 146:0fc66d610fd6 | 2 | #include <stdint.h> |
andrewboyson | 61:aad055f1b0d1 | 3 | |
andrewboyson | 54:84ef2b29cf7e | 4 | bool HttpTrace = false; |
andrewboyson | 146:0fc66d610fd6 | 5 | |
andrewboyson | 146:0fc66d610fd6 | 6 | //Plumb into these from your html server |
andrewboyson | 147:a6093b52e654 | 7 | void (*HttpRequestFunction)(char* pState, int size, char* pRequestStream, uint32_t positionInRequestStream); |
andrewboyson | 147:a6093b52e654 | 8 | bool (*HttpPollFunction )(char* pState, bool clientFinished); |
andrewboyson | 147:a6093b52e654 | 9 | bool (*HttpReplyFunction )(char* pState); |