$darkmode
engine::ServerRegistrar Class Referenceabstract

#include <server.hpp>

Inheritance diagram for engine::ServerRegistrar:

Public Member Functions

virtual std::unique_ptr< ServerRegistrarclone () const =0
 
virtual std::unique_ptr< ServerRegistrarwith_prefix (const std::string &static_prefix, const std::string &api_prefix) const =0
 
virtual void register_static_handler (const std::string &endpoint, cloe::Handler h)=0
 
virtual void register_api_handler (const std::string &endpoint, cloe::HandlerType t, cloe::Handler h)=0
 

Detailed Description

Server registrar interface.

This lets you register static and API endpoints with the server. Get a new one from Server::server_registrar().


The documentation for this class was generated from the following file: