MCPcopy Create free account
hub / github.com/BlueAndi/Pixelix / clear

Method clear

lib/AsyncHttpClient/src/AsyncHttpClient.cpp:1154–1179  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1152}
1153
1154void AsyncHttpClient::clear()
1155{
1156 m_hostname.clear();
1157 m_port = 0U;
1158 m_base64Authorization.clear();
1159 m_uri.clear();
1160 m_headers.clear();
1161 m_urlEncodedPars.clear();
1162
1163 m_rspPart = RESPONSE_PART_STATUS_LINE;
1164 m_rsp.clear();
1165 m_rspLine.clear();
1166 m_transferCoding = TRANSFER_CODING_IDENTITY;
1167 m_contentLength = 0U;
1168 m_contentIndex = 0U;
1169 m_chunkSize = 0U;
1170 m_chunkIndex = 0U;
1171 m_chunkBodyPart = CHUNK_SIZE;
1172
1173 /* Protect against concurrent access. */
1174 {
1175 MutexGuard<Mutex> guard(m_mutex);
1176
1177 m_isReqOpen = false;
1178 }
1179}
1180
1181bool AsyncHttpClient::isEOL(const String& str, size_t& len)
1182{

Callers 9

beginMethod · 0.45
clearHeaderMethod · 0.45
clearParMethod · 0.45
onDataMethod · 0.45
parseRspStatusLineMethod · 0.45
parseRspHeaderMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected