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

Method get_count

src/proxy/http3/Http3FrameCounter.cc:51–59  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

49}
50
51uint64_t
52Http3FrameCounter::get_count(uint64_t type) const
53{
54 if (type == 0x21) { // TS_SSN_INFO_RECEIVED_FRAME_COUNT_H3_UNKNOWN in apidefs.h.in
55 return this->_frame_counts_in[static_cast<int>(Http3FrameType::X_MAX_DEFINED)];
56 } else {
57 return this->_frame_counts_in[type];
58 }
59}

Calls

no outgoing calls

Tested by

no test coverage detected