#include <lwsapi_app.hpp>
◆ unique_ptr_t
◆ IResponse() [1/2]
◆ IResponse() [2/2]
◆ generator()
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!
Implemented in WaitResponse, BufferResponse, and FileResponse.