HTTPRemoteClient::HTTPRemoteClient

Constructors

Synopses

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...

Parameters

NameDescription
otherThe client that would be copied.
idUnique identifier assigned by the server.
addrRemote address and port of the peer.
socketConnected socket owned by this client.