[#HTTPRemoteClient-2constructor-01]
= xref:HTTPRemoteClient.adoc[HTTPRemoteClient]::HTTPRemoteClient
:relfileprefix: ../
:mrdocs:

Constructors

== Synopses

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

Deleted copy constructor&semi; clients are only used through shared pointers&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:HTTPRemoteClient/2constructor-07.adoc[HTTPRemoteClient](xref:HTTPRemoteClient.adoc[HTTPRemoteClient] const& other) = delete;
----

[.small]#xref:HTTPRemoteClient/2constructor-07.adoc[_» more&period;&period;&period;_]#

Construct a client for a freshly accepted connection&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
explicit
xref:HTTPRemoteClient/2constructor-0c.adoc[HTTPRemoteClient](
    xref:HTTPServer/Id.adoc[HTTPServer::Id] id,
    xref:CService.adoc[CService] const& addr,
    std::unique&lowbar;ptr&lt;Sock&gt; socket);
----

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *other*
| The client that would be copied&period;
| *id*
| Unique identifier assigned by the server&period;
| *addr*
| Remote address and port of the peer&period;
| *socket*
| Connected socket owned by this client&period;
|===


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