yaze 0.3.2
Link to the Past ROM Editor
 
Loading...
Searching...
No Matches
api_handlers.h
Go to the documentation of this file.
1#ifndef YAZE_SRC_CLI_SERVICE_API_API_HANDLERS_H_
2#define YAZE_SRC_CLI_SERVICE_API_API_HANDLERS_H_
3
4#include <string>
5
6// Forward declarations to avoid exposing httplib headers everywhere
7namespace httplib {
8struct Request;
9struct Response;
10} // namespace httplib
11
12namespace yaze {
13namespace cli {
14namespace api {
15
16// Health check endpoint
17void HandleHealth(const httplib::Request& req, httplib::Response& res);
18
19// List available models
20void HandleListModels(const httplib::Request& req, httplib::Response& res);
21
22} // namespace api
23} // namespace cli
24} // namespace yaze
25
26#endif // YAZE_SRC_CLI_SERVICE_API_API_HANDLERS_H_
void HandleListModels(const httplib::Request &req, httplib::Response &res)
void HandleHealth(const httplib::Request &req, httplib::Response &res)