[#HTTPRequest-GetClient]
= xref:HTTPRequest.adoc[HTTPRequest]::GetClient
:relfileprefix: ../
:mrdocs:

Returns the client connection this request arrived on&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::shared&lowbar;ptr&lt;HTTPRemoteClient&gt;
GetClient() const;
----

== Return Value

A shared pointer to the client connection, or null if it has been destroyed&period;


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