MCPcopy Create free account
hub / github.com/acl-dev/acl / do_xml

Method do_xml

lib_acl_cpp/samples/ssl/https_request_static/https_request.cpp:82–92  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80}
81
82bool https_request::do_xml(acl::http_request& req)
83{
84 acl::xml1 body;
85 if (req.get_body(body, to_charset_)) {
86 logger_error("get http body error");
87 return false;
88 }
89
90 printf(">>>xml body:\r\n[%s]\r\n", body.to_string());
91 return true;
92}
93
94bool https_request::do_json(acl::http_request& req)
95{

Callers

nothing calls this directly

Calls 2

get_bodyMethod · 0.45
to_stringMethod · 0.45

Tested by

no test coverage detected