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

Method value

src/cripts/Bundles/HRWBridge.cc:61–80  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

59}
60
61cripts::string_view
62ID::value(cripts::Context *context)
63{
64 switch (_type) {
65 case Type::REQUEST:
66 _value = cripts::UUID::Request::_get(context);
67 break;
68 case Type::PROCESS:
69 _value = cripts::UUID::Process::_get(context);
70 break;
71 case Type::UNIQUE:
72 _value = cripts::UUID::Unique::_get(context);
73 break;
74 default:
75 _value = "";
76 break;
77 }
78
79 return _value;
80}
81
82/////////////////////////////////////////////////////////////////////////////
83// Bridge for the IP class

Callers 4

doRemapMethod · 0.45
doSendResponseMethod · 0.45
doSendRequestMethod · 0.45
doReadResponseMethod · 0.45

Calls 3

LocalIPMethod · 0.80
IPMethod · 0.45
stringMethod · 0.45

Tested by

no test coverage detected