MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / ~AsyncHttpClient

Method ~AsyncHttpClient

lib/AsyncHttpClient/src/AsyncHttpClient.cpp:192–208  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

190}
191
192AsyncHttpClient::~AsyncHttpClient()
193{
194 /* Unregister first all callbacks before cleaning the
195 * event queue.
196 */
197 m_tcpClient.onConnect(nullptr);
198 m_tcpClient.onDisconnect(nullptr);
199 m_tcpClient.onError(nullptr);
200 m_tcpClient.onData(nullptr);
201 m_tcpClient.onTimeout(nullptr);
202 end();
203
204 /* Destroy at the end. */
205 m_mutex.destroy();
206 m_evtQueue.destroy();
207 m_cmdQueue.destroy();
208}
209
210bool AsyncHttpClient::begin(const String& url)
211{

Callers

nothing calls this directly

Calls 6

onTimeoutMethod · 0.80
onConnectMethod · 0.45
onDisconnectMethod · 0.45
onErrorMethod · 0.45
onDataMethod · 0.45
destroyMethod · 0.45

Tested by

no test coverage detected