Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/chenshuo/muduo
/ onStringMessage
Method
onStringMessage
examples/asio/chat/client.cc:66–71 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
64
}
65
66
void onStringMessage(const TcpConnectionPtr&,
67
const string& message,
68
Timestamp)
69
{
70
printf(
"<<< %s\n"
, message.c_str());
71
}
72
73
TcpClient client_;
74
LengthHeaderCodec codec_;
Callers
nothing calls this directly
Calls
1
c_str
Method · 0.80
Tested by
no test coverage detected