Files
openrouter/src/OpenRouter/OpenRouter.hpp
T
wt 6fe6a1aaf8
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
updated added classes and updated web
2025-04-24 13:56:58 +07:00

20 lines
309 B
C++

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