|
nanoMMO 0.97.8
Building an MMO: The Engineering Series
|
#include <login_server.h>
Static Public Member Functions | |
| static absl::StatusOr< std::unique_ptr< LoginServer > > | Create (asio::io_context &io, uint16_t port, asio::ssl::context &tls, Accounts &accounts, Tokens &tokens, Characters &characters, Consul &consul, LoginMetrics &metrics) |
Definition at line 37 of file login_server.h.
|
static |
Starts listening on the port, or returns why it couldn't. Each client talks to it over TLS, with the context. Each request it answers goes into the metrics, with how long it took.
Definition at line 205 of file login_server.cc.