[#HTTPRemoteClient-2constructor-01] = xref:HTTPRemoteClient.adoc[HTTPRemoteClient]::HTTPRemoteClient :relfileprefix: ../ :mrdocs: Constructors == Synopses Declared in `<httpserver.h>` Deleted copy constructor; clients are only used through shared pointers. [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..._]# Construct a client for a freshly accepted connection. [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_ptr<Sock> socket); ---- [.small]#xref:HTTPRemoteClient/2constructor-0c.adoc[_» more..._]# == Parameters [cols="1,4"] |=== | Name| Description | *other* | The client that would be copied. | *id* | Unique identifier assigned by the server. | *addr* | Remote address and port of the peer. | *socket* | Connected socket owned by this client. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#