Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ ProtocolForMessage
Function
ProtocolForMessage
library/cpp/neh/neh.cpp:90–92 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
88
};
89
90
inline IProtocol* ProtocolForMessage(const TMessage& msg) {
91
return ProtocolFactory()->Protocol(TStringBuf(msg.Addr).Before(
':'
));
92
}
93
}
94
95
NNeh::TMessage NNeh::TMessage::FromString(const TStringBuf req) {
Callers
1
Request
Method · 0.85
Calls
2
Protocol
Method · 0.80
Before
Method · 0.80
Tested by
no test coverage detected