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

Construct a client for a freshly accepted connection&period;

== Synopsis

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

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

== Parameters

[cols="1,4"]
|===
| Name| Description
| *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]#
