struct PageResponse
C++
struct PageResponse
The application's answer for a PageRequest.
include/nprpc/page_handler.hpp:36
Fields
std::string body
The response body.
include/nprpc/page_handler.hpp:43
std::map<std::string, std::string> headers
Response headers. Content-Type defaults to HTML; Content-Length is set by the server.
include/nprpc/page_handler.hpp:41
unsigned int status = 200
HTTP status code.
include/nprpc/page_handler.hpp:38