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-11-12 at 14:49:13 +0000