MCPcopy 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
67ui16 TParsedLocation::GetPort() const {
68 if (!Port) {
69 return IsHttps(Scheme) ? 443 : 80;
70 }
71
72 return FromString<ui16>(Port);
73}

Callers 15

Y_UNIT_TESTFunction · 0.45
DoTestHttpOutputSizeFunction · 0.45
GetFreeFamilyPortMethod · 0.45
GetListenPortMethod · 0.45
THttpRequestMethod · 0.45
THttpServerMethod · 0.45
TServicerMethod · 0.45
TRequesterMethod · 0.45
TRequestMethod · 0.45
CreateRequesterMethod · 0.45
ScheduleMethod · 0.45
CreateRequesterMethod · 0.45

Calls 1

IsHttpsFunction · 0.85

Tested by

no test coverage detected