MCPcopy Create free account
hub / github.com/SmingHub/Sming / reset

Method reset

Sming/Components/Network/src/Network/Http/HttpRequest.cpp:54–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void HttpRequest::reset()
55{
56 delete queryParams;
57 queryParams = nullptr;
58
59 delete bodyStream;
60 bodyStream = nullptr;
61
62 delete responseStream;
63 responseStream = nullptr;
64
65 postParams.clear();
66 files.clear();
67 headers.clear();
68}
69
70String HttpRequest::toString() const
71{

Callers 14

smartConfigStartMethod · 0.45
smartConfigStopMethod · 0.45
StationListImplMethod · 0.45
onSystemReadyMethod · 0.45
sendMethod · 0.45
sendMailHeadersMethod · 0.45
MailMessage.cppFile · 0.45
onMessageBeginMethod · 0.45
onReadyToSendDataMethod · 0.45
sendErrorMethod · 0.45
resetHeadersMethod · 0.45
staticOnMessageBeginMethod · 0.45

Calls 1

clearMethod · 0.45

Tested by

no test coverage detected