[#HTTPRequest-2constructor-05]
= xref:HTTPRequest.adoc[HTTPRequest]::HTTPRequest
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Construct with a null client for unit tests


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:HTTPRequest/2constructor-0d.adoc[HTTPRequest]();
----

[.small]#xref:HTTPRequest/2constructor-0d.adoc[_» more&period;&period;&period;_]#

Construct a request bound to the client that sent it&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:HTTPRequest/2constructor-0c.adoc[HTTPRequest](std::shared&lowbar;ptr&lt;HTTPRemoteClient&gt; const& client);
----

[.small]#xref:HTTPRequest/2constructor-0c.adoc[_» more&period;&period;&period;_]#

== Parameters

[cols="1,4"]
|===
| Name| Description
| *client*
| The client connection the request arrived on and will be replied to&period;
|===


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