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