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

Method String

src/cripts/Urls.cc:428–444  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

426}
427
428cripts::string
429Url::String()
430{
431 cripts::string ret;
432
433 CAssert(_context);
434 _ensure_initialized(this);
435 int full_len = 0;
436 char *full_str = TSUrlStringGet(_bufp, _urlp, &full_len);
437
438 if (full_str) {
439 ret.assign(full_str, full_len);
440 TSfree(static_cast<void *>(full_str));
441 }
442
443 return ret;
444}
445
446Pristine::URL &
447Pristine::URL::_get(cripts::Context *context)

Callers 2

glb_pre_remapFunction · 0.45
glb_post_remapFunction · 0.45

Calls 3

TSUrlStringGetFunction · 0.85
TSfreeFunction · 0.85
assignMethod · 0.45

Tested by

no test coverage detected