MCPcopy Create free account
hub / github.com/apache/trafficserver / getPreBody

Function getPreBody

plugins/xdebug/xdebug_transforms.cc:33–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31static DbgCtl dbg_ctl_xform{"xdebug_transform"};
32
33static std::string
34getPreBody(TSHttpTxn txn)
35{
36 std::stringstream output;
37 output << "{'xDebugProbeAt' : '" << Hostname << "',\n 'captured':[";
38 print_request_headers(txn, output);
39 output << "\n ]\n}";
40 output << MultipartBoundary;
41 return output.str();
42}
43
44static std::string
45getPostBody(TSHttpTxn txn)

Callers 1

body_transformFunction · 0.85

Calls 2

print_request_headersFunction · 0.85
strMethod · 0.45

Tested by

no test coverage detected