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

Method reason_set

include/proxy/hdrs/HTTP.h:1114–1121  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1112 -------------------------------------------------------------------------*/
1113
1114inline void
1115HTTPHdr::reason_set(const char *value, int length)
1116{
1117 ink_assert(valid());
1118 ink_assert(m_http->m_polarity == HTTP_TYPE_RESPONSE);
1119
1120 http_hdr_reason_set(m_heap, m_http, value, length, true);
1121}
1122
1123/*-------------------------------------------------------------------------
1124 -------------------------------------------------------------------------*/

Calls 1

http_hdr_reason_setFunction · 0.85

Tested by

no test coverage detected