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

Method logger_request

lib_acl_cpp/samples/ssl/https_proxy/http_servlet.cpp:18–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16}
17
18void http_servlet::logger_request(acl::HttpServletRequest& req)
19{
20 acl::string req_hdr;
21 acl::http_client* client = req.getClient();
22 client->sprint_header(req_hdr, NULL);
23 out_.format("\r\n>>>request header<<<\r\n");
24 out_.write(req_hdr);
25 out_.format("\r\n");
26}
27
28bool http_servlet::doError(acl::HttpServletRequest& req,
29 acl::HttpServletResponse& res)

Callers

nothing calls this directly

Calls 4

getClientMethod · 0.80
sprint_headerMethod · 0.45
formatMethod · 0.45
writeMethod · 0.45

Tested by

no test coverage detected