MCPcopy Create free account
hub / github.com/catboost/catboost / HttpCodeStr

Function HttpCodeStr

library/cpp/http/misc/httpcodes.h:82–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

80TStringBuf HttpCodeStrEx(int code) noexcept;
81
82inline TStringBuf HttpCodeStr(int code) noexcept {
83 return HttpCodeStrEx(code).Skip(4);
84}
85
86inline bool IsHttpCode(int code) noexcept {
87 return HttpCodeStrEx(code).data() != HttpCodeStrEx(0).data();

Callers 2

Calls 2

HttpCodeStrExFunction · 0.85
SkipMethod · 0.45

Tested by

no test coverage detected