[#HTTPRemoteClient-Send]
= xref:HTTPRemoteClient.adoc[HTTPRemoteClient]::Send
:relfileprefix: ../
:mrdocs:

Queue a response to be written to the client&apos;s socket&period;

== Synopsis

Declared in `&lt;httpserver&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
&lsqb;&lsqb;requires&lowbar;capability(0x7f2e3ab48768, 0x7f2e3ab48828)&rsqb;&rsqb;
void
Send(
    xref:HTTPResponse.adoc[HTTPResponse] const& res,
    std::span&lt;std::byte const&gt; reply&lowbar;body,
    bool keep&lowbar;alive);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *res*
| The response status line and headers&period;
| *reply&lowbar;body*
| The response body bytes&period;
| *keep&lowbar;alive*
| Whether to keep the connection open after sending&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
