Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/alibaba/PhotonLibOS
/ set_handler
Method
set_handler
net/rsocket/rsocket.cpp:441–444 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
439
}
440
441
ISocketServer* set_handler(Handler handler) override {
442
m_handler = handler;
443
return this;
444
}
445
static void handler(Handler m_handler, photon::net::ISocketStream* sess) {
446
m_handler(sess);
447
delete sess;
Callers
15
TEST
Function · 0.45
TEST
Function · 0.45
TEST
Function · 0.45
main
Function · 0.45
main
Function · 0.45
main
Function · 0.45
TEST
Function · 0.45
main
Function · 0.45
TEST
Function · 0.45
main
Function · 0.45
main
Function · 0.45
RpcServer
Method · 0.45
Calls
no outgoing calls
Tested by
15
TEST
Function · 0.36
TEST
Function · 0.36
TEST
Function · 0.36
main
Function · 0.36
main
Function · 0.36
main
Function · 0.36
TEST
Function · 0.36
main
Function · 0.36
TEST
Function · 0.36
main
Function · 0.36
main
Function · 0.36
RpcServer
Method · 0.36