Struct HttpServerInterfaceProxy

struct HttpServerInterfaceProxy

Interface proxy, used to insulate python bindings.

Public Static Functions

static std::shared_ptr<HttpServer> init(pybind11::function py_parse_fn, std::string bind_address, unsigned short port, std::string endpoint, std::string method, 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)

Previous Struct FilterDetectionStageInterfaceProxy
Next Struct HttpServerSourceStageInterfaceProxy
© Copyright 2023, NVIDIA. Last updated on Feb 2, 2024.