mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 22:01:30 +00:00
* Zone sidecar work * Process management work * Merge * Sidecar work * API config option * Request proxy work * Proxy headers and params * Change port * Remove code * Sim work * Sidecar work * Update loot_simulator_controller.cpp * Update loot_simulator_controller.cpp * Formatting * Post merge change * Windows compile fix * Update sidecar_api.cpp * Update strings.cpp
18 lines
666 B
C++
18 lines
666 B
C++
#ifndef EQEMU_SIDECAR_API_H
|
|
#define EQEMU_SIDECAR_API_H
|
|
|
|
#include "../../common/http/httplib.h"
|
|
|
|
class SidecarApi {
|
|
public:
|
|
static void BootWebserver(int req = 0, const std::string& key = "");
|
|
static void AuthMiddleware(const httplib::Request &req, const httplib::Response &res);
|
|
static void RequestLogHandler(const httplib::Request &req, const httplib::Response &res);
|
|
static void TestController(const httplib::Request &req, httplib::Response &res);
|
|
static void LootSimulatorController(const httplib::Request &req, httplib::Response &res);
|
|
static void MapBestZController(const httplib::Request &req, httplib::Response &res);
|
|
};
|
|
|
|
|
|
#endif //EQEMU_SIDECAR_API_H
|