MCPcopy Create free account
hub / github.com/ClickHouse/ClickHouse / sendMessage

Method sendMessage

base/poco/Net/src/DialogSocket.cpp:106–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104
105
106void DialogSocket::sendMessage(const std::string& message)
107{
108 std::string line;
109 line.reserve(message.length() + 2);
110 line.append(message);
111 line.append("\r\n");
112 sendString(line);
113}
114
115
116void DialogSocket::sendMessage(const std::string& message, const std::string& arg)

Callers

nothing calls this directly

Calls 4

reserveMethod · 0.45
lengthMethod · 0.45
appendMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected