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

Method assign

plugins/experimental/txn_box/plugin/src/ts_util.cc:388–393  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

386}
387
388bool
389ts::HttpField::assign(swoc::TextView value)
390{
391 value.rtrim_if(&isspace);
392 return this->is_valid() && TS_SUCCESS == TSMimeHdrFieldValueStringSet(_buff, _hdr, _loc, -1, value.data(), value.size());
393}
394
395bool
396ts::HttpField::destroy()

Callers 2

host_setMethod · 0.45
port_setMethod · 0.45

Calls 4

is_validMethod · 0.45
dataMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected