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

Method CountryCode

src/cripts/Geo.cc:115–122  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

113}
114
115cripts::string
116detail::ConnBase::Geo::CountryCode() const
117{
118 cripts::string ret;
119 ret = get_geo_string(this->_owner->socket(), GEO_QUAL_COUNTRY_ISO);
120
121 return ret; // RVO
122}
123
124#else
125

Callers 2

do_send_responseFunction · 0.80
do_send_responseFunction · 0.80

Calls 1

get_geo_stringFunction · 0.85

Tested by

no test coverage detected