Construct a client for a freshly accepted connection.
Declared in <httpserver.h>
explicit
HTTPRemoteClient(
HTTPServer::Id id,
CService const& addr,
std::unique_ptr<Sock> socket);
| Name | Description |
|---|---|
| id | Unique identifier assigned by the server. |
| addr | Remote address and port of the peer. |
| socket | Connected socket owned by this client. |