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

Method create

include/proxy/hdrs/HTTP.h:688–699  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

686 -------------------------------------------------------------------------*/
687
688inline void
689HTTPHdr::create(HTTPType polarity, HTTPVersion version, HdrHeap *heap)
690{
691 if (heap) {
692 m_heap = heap;
693 } else if (!m_heap) {
694 m_heap = new_HdrHeap();
695 }
696
697 m_http = http_hdr_create(m_heap, polarity, version);
698 m_mime = m_http->m_fields_impl;
699}
700
701inline void
702HTTPHdr::clear()

Callers 1

url_createMethod · 0.45

Calls 2

new_HdrHeapFunction · 0.85
http_hdr_createFunction · 0.85

Tested by

no test coverage detected