MCPcopy Create free account
hub / github.com/chronoxor/CppServer / EchoClient

Method EchoClient

performance/ssl_echo_client.cpp:34–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

32{
33public:
34 EchoClient(const std::shared_ptr<Service>& service, std::shared_ptr<SSLContext> context, const std::string& address, int port, int messages)
35 : SSLClient(service, context, address, port),
36 _messages(messages)
37 {
38 }
39
40 void SendMessage() { SendAsync(message_to_send.data(), message_to_send.size()); }
41

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected