|
Malloy
|


Public Types | |
| using | http_conn_t = const connection_t & |
| using | req_t = std::shared_ptr< typename connection< Derived >::request_generator > |
Public Types inherited from malloy::server::http::connection< Derived >::handler | |
| 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 | |
| router_adaptor (router_t router) | |
| void | websocket (const std::filesystem::path &root, const req_t &req, const std::shared_ptr< malloy::server::websocket::connection > &conn) override |
| void | http (const std::filesystem::path &root, const req_t &req, http_conn_t conn) override |
Public Member Functions inherited from malloy::server::http::connection< Derived >::handler | |
| 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 |
Router adaptor.
This is needed to break the dependency cycle between connection and router.
|
inline |
Constructor.
| router | The router. |