MCPcopy Create free account
hub / github.com/deathkiller/jazz2-native / IsSchemeValid

Function IsSchemeValid

Sources/Dependencies/ixwebsocket/IXUrlParser.cpp:99–107  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

97 };
98
99 static bool IsSchemeValid(const std::string& SchemeName)
100 {
101 for (auto c : SchemeName)
102 {
103 if (!isalpha(c) && c != '+' && c != '-' && c != '.') return false;
104 }
105
106 return true;
107 }
108
109 bool clParseURL::GetPort(int* OutPort) const
110 {

Callers 1

ParseURLMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected