Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PurpleI2P/i2pd
/ is_http_version
Function
is_http_version
libi2pd/HTTP.cpp:46–49 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
44
};
45
46
static inline bool is_http_version(std::string_view str)
47
{
48
return std::find(HTTP_VERSIONS.begin(), HTTP_VERSIONS.end(), str) != std::end(HTTP_VERSIONS);
49
}
50
51
static inline bool is_http_method(std::string_view str)
52
{
Callers
1
parse
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected