eckit::HttpService class

Base classes

class NetService

Constructors, destructors, conversion operators

HttpService(int port, bool visible = false) explicit
~HttpService() override

Public functions

auto hostname() const -> std::string
auto port() const -> int
void run() override
void stop()

Private functions

auto newUser(eckit::net::TCPSocket&) const -> eckit::net::NetUser* override
auto name() const -> std::string override

Function documentation

std::string eckit::HttpService::hostname() const

Returns hostname to which this server is answering

int eckit::HttpService::port() const

Returns port to which this server is answering

void eckit::HttpService::run() override

void eckit::HttpService::stop()