Constructors
Declared in <httpserver.h>
Deleted copy constructor; clients are only used through shared pointers.
HTTPRemoteClient(HTTPRemoteClient const& other) = delete;
» more...
Construct a client for a freshly accepted connection.
explicit
HTTPRemoteClient(
HTTPServer::Id id,
CService const& addr,
std::unique_ptr<Sock> socket);
» more...
| 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. |