[#HTTPRequest-WriteReply-08] = xref:HTTPRequest.adoc[HTTPRequest]::WriteReply :relfileprefix: ../ :mrdocs: Queue a reply with the given status code and a string body. == Synopsis Declared in `<httpserver.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- void WriteReply( xref:HTTPStatusCode.adoc[HTTPStatusCode] status, std::string_view reply_body_view); ---- == Parameters [cols="1,4"] |=== | Name| Description | *status* | The HTTP status code to send. | *reply_body_view* | The response body as a string view. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#