WSAPI generator (called more time from WSAPI http server).
This is generator method must iterative return response content.
- Parameters
-
input | is LwIP input buffer chain. |
- Returns
- Message contains response, headers, payload and length. If length is EOF, all data was sent. Response must be set in first time, headers second time and payload could be send moretimes. When response or headers in message exists, that will be send. All data in message must exists to next generator call!
Implements IResponse.
169 for (
auto it = input; it !=
nullptr; it = it->next) {
170 for (
size_t i = 0;
i < it->len;
i++) {
186 return (
Message_t) {
nullptr,
nullptr,
nullptr, 0 };