nanoMMO 0.97.8
Building an MMO: The Engineering Series
Loading...
Searching...
No Matches
gateway.h File Reference
#include <cstdint>
#include <functional>
#include <memory>
#include <string>
#include <string_view>
#include "absl/status/statusor.h"
#include "asio/io_context.hpp"
#include "asio/ip/tcp.hpp"
#include "asio/ssl/context.hpp"

Go to the source code of this file.

Classes

struct  nanommo::Upstream
class  nanommo::Gateway

Namespaces

namespace  nanommo

Typedefs

using nanommo::Route = std::function<absl::StatusOr<Upstream>(std::string_view path)>
 Where a page's path leads, or why nowhere.
using nanommo::WorldAddress
 Finds a world's own address by the host and port players reach it at.

Functions

Route nanommo::Routes (Upstream login, WorldAddress world_address)