Files
openrouter/src/OpenRouter/OpenRouter.hpp
T
wt f4bcead439
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Make (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-CMake (push) Has been cancelled
Prepare Build and Testing executable binary / Prepare-Build-Testing-With-Meson (push) Has been cancelled
formated code
2025-02-13 19:25:56 +07:00

21 lines
308 B
C++

#ifndef OPENROUTER_HPP
#define OPENROUTER_HPP
#include <iostream>
#include <httplib.h>
#define CORS_ENABLE
class OpenRouter
{
private:
httplib::Server srv;
public:
OpenRouter();
~OpenRouter();
int serve(const std::string& ip, int port, int socket_flags = 0);
};
#endif // OPENROUTER_HPP