Skip to content

cvedia::rt::WebClient

Public Functions

Name
std::string post(std::string const & ip, std::string const & path, std::string const & payload, std::string const & contentType ="text/plain")
std::string get(std::string const & ip, std::string const & path)
void setupProxy(httplib::Client & cli)

Public Functions Documentation

function post

static std::string post(
    std::string const & ip,
    std::string const & path,
    std::string const & payload,
    std::string const & contentType ="text/plain"
)

function get

static std::string get(
    std::string const & ip,
    std::string const & path
)

function setupProxy

static void setupProxy(
    httplib::Client & cli
)

Updated on 2024-12-18 at 18:34:35 +0000