Struct HttpServerInterfaceProxy
Defined in File http_server.hpp
-
struct HttpServerInterfaceProxy
Interface proxy, used to insulate python bindings.
Public Static Functions
-
static std::shared_ptr<HttpServer> init(std::vector<HttpEndpoint> endpoints, std::string bind_address, unsigned short port, unsigned short num_threads, std::size_t max_payload_size, int64_t request_timeout)
-
static void start(HttpServer &self)
-
static void stop(HttpServer &self)
-
static bool is_running(const HttpServer &self)
-
static HttpServer &enter(HttpServer &self)
-
static void exit(HttpServer &self, const pybind11::object &type, const pybind11::object &value, const pybind11::object &traceback)
-
static std::shared_ptr<HttpServer> init(std::vector<HttpEndpoint> endpoints, std::string bind_address, unsigned short port, unsigned short num_threads, std::size_t max_payload_size, int64_t request_timeout)