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

Name

Description

id

Unique identifier assigned by the server.

addr

Remote address and port of the peer.

socket

Connected socket owned by this client.

Created with MrDocs