Queue a reply with the given status code and body to be sent to the client.
Synopsis
Declared in <httpserver.h>
void
WriteReply(
HTTPStatusCode status,
std::span<std::byte const> reply_body = {});
Parameters
Name |
Description |
status |
The HTTP status code to send. |
reply_body |
The response body bytes; empty for a status‐only reply. |
Created with MrDocs