MCPcopy Create free account
hub / github.com/SpartanJ/eepp / cancel

Method cancel

src/eepp/network/http.cpp:213–218  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

211}
212
213void Http::Request::cancel( bool resetCancelCallback ) {
214 mCancel = true;
215 setProgressCallback( {} );
216 if ( resetCancelCallback )
217 setCancelCallback( {} );
218}
219
220const bool& Http::Request::isCancelled() const {
221 return mCancel;

Callers 3

stopMethod · 0.45
~HttpMethod · 0.45
setCancelRequestMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected