Motion Master 6.0.0-alpha.50
Next-generation motion control software
Loading...
Searching...
No Matches
example_routes.h
Go to the documentation of this file.
1#pragma once
2
3#include <uwebsockets/App.h>
4
5#include "api/web_api.h"
6
7namespace mm::example {
8
17void registerRoutes(uWS::SSLApp& app, const mm::api::RouteContext& ctx);
18
19} // namespace mm::example
Example application namespace — the starting point for a C++ HTTP-endpoint plug-in.
Definition example_logic.cc:11
void registerRoutes(uWS::SSLApp &app, const mm::api::RouteContext &ctx)
Registers the example application's HTTP routes (/api/example/...) on app.
Definition example_routes.cc:11
The live collaborators a route plug-in needs, handed to it at registration time.
Definition web_api.h:39