Malloy
|
#include <connection.hpp>
Public Types | |
using | request = malloy::http::request<> |
using | http_conn_t = const connection_t & |
using | path = std::filesystem::path |
using | req_t = std::shared_ptr< request_generator > |
Public Member Functions | |
virtual void | websocket (const path &root, const req_t &req, const std::shared_ptr< malloy::server::websocket::connection > &)=0 |
virtual void | http (const path &root, const req_t &req, http_conn_t)=0 |
This is needed to break the dependency cycle between connection and router.