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@146:0fc66d610fd6, 2019-05-15 (annotated)
- Committer:
- andrewboyson
- Date:
- Wed May 15 15:33:15 2019 +0000
- Revision:
- 146:0fc66d610fd6
- Parent:
- 145:206bf0d073c7
- Child:
- 147:a6093b52e654
Tidied the http shim
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 | 146:0fc66d610fd6 | 7 | void (*HttpRequestFunction)(int size, char* pRequestStream, uint32_t positionInRequestStream, char* pState); |
andrewboyson | 146:0fc66d610fd6 | 8 | bool (*HttpReplyPollFunction)(char* pState, bool clientFinished); |