Queue a reply with the given status code and a string body.
Synopsis
Declared in <httpserver.h>
void
WriteReply(
HTTPStatusCode status,
std::string_view reply_body_view);
Parameters
Name |
Description |
status |
The HTTP status code to send. |
reply_body_view |
The response body as a string view. |
Created with MrDocs