class
#include <eckit/web/HttpService.h>
HttpService
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
#include <eckit/net/NetService.h>
Returns | hostname to which this server is answering |
---|
int eckit:: HttpService:: port() const
#include <eckit/net/NetService.h>
Returns | port to which this server is answering |
---|
void eckit:: HttpService:: run() override
#include <eckit/net/NetService.h>
void eckit:: HttpService:: stop()
#include <eckit/thread/Thread.h>