MCPcopy Create free account
hub / github.com/chronoxor/CppServer / protocol

Method protocol

include/server/http/http_response.h:71–71  ·  view source on GitHub ↗

Get the HTTP response protocol version

Source from the content-addressed store, hash-verified

69 std::string_view status_phrase() const noexcept { return std::string_view(_cache.data() + _status_phrase_index, _status_phrase_size); }
70 //! Get the HTTP response protocol version
71 std::string_view protocol() const noexcept { return std::string_view(_cache.data() + _protocol_index, _protocol_size); }
72 //! Get the HTTP response headers count
73 size_t headers() const noexcept { return _headers.size(); }
74 //! Get the HTTP response header by index

Callers

nothing calls this directly

Calls 1

dataMethod · 0.45

Tested by

no test coverage detected