MCPcopy Create free account
hub / github.com/alibaba/async_simple / ~client

Method ~client

demo_example/smtp/smtp_client.cpp:162–162  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

160 : io_context_(io_context), socket_(io_context), resolver_(io_context) {}
161
162 ~client() { close(); }
163
164 void set_email_server(const email_server &server) { server_ = server; }
165 void set_email_data(const email_data &data) { data_ = data; }

Callers

nothing calls this directly

Calls 1

closeFunction · 0.50

Tested by

no test coverage detected