MCPcopy Create free account
hub / github.com/FastLED/FastLED / disconnect

Method disconnect

src/fl/net/http/stream_client.cpp.hpp:67–74  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

65}
66
67void HttpStreamClient::disconnect() {
68 if (mNativeClient) {
69 mNativeClient->disconnect();
70 }
71 mHttpHeaderSent = false;
72 mHttpHeaderReceived = false;
73 mConnection.onDisconnected();
74}
75
76bool HttpStreamClient::isConnected() const {
77 return mNativeClient && mNativeClient->isConnected() && mHttpHeaderSent && mHttpHeaderReceived;

Callers 8

connectMethod · 0.45
cleanupMethod · 0.45
cleanupMethod · 0.45
destroyMethod · 0.45
stopRecordingMethod · 0.45
disposeMethod · 0.45
closeMethod · 0.45

Calls 1

onDisconnectedMethod · 0.80

Tested by

no test coverage detected