HTTPRemoteClient::HTTPRemoteClient

Construct a client for a freshly accepted connection.

Synopsis

Declared in <httpserver.h>

explicit
HTTPRemoteClient(
    HTTPServer::Id id,
    CService const& addr,
    std::unique_ptr<Sock> socket);

Parameters

NameDescription
idUnique identifier assigned by the server.
addrRemote address and port of the peer.
socketConnected socket owned by this client.