Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ GetPort
Method
GetPort
library/cpp/neh/location.cpp:67–73 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
65
}
66
67
ui16 TParsedLocation::GetPort() const {
68
if (!Port) {
69
return IsHttps(Scheme) ? 443 : 80;
70
}
71
72
return FromString<ui16>(Port);
73
}
Callers
15
Y_UNIT_TEST
Function · 0.45
DoTestHttpOutputSize
Function · 0.45
GetFreeFamilyPort
Method · 0.45
GetListenPort
Method · 0.45
THttpRequest
Method · 0.45
THttpServer
Method · 0.45
TServicer
Method · 0.45
TRequester
Method · 0.45
TRequest
Method · 0.45
CreateRequester
Method · 0.45
Schedule
Method · 0.45
CreateRequester
Method · 0.45
Calls
1
IsHttps
Function · 0.85
Tested by
no test coverage detected