MCPcopy Create free account
hub / github.com/defold/defold / ~Response

Method ~Response

engine/dlib/src/dlib/http_client.cpp:249–258  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

247 }
248
249 Response::~Response()
250 {
251 if (m_Connection) {
252 if (m_CloseConnection || m_Client->m_SocketResult != dmSocket::RESULT_OK) {
253 dmConnectionPool::Close(m_Pool, m_Connection);
254 } else {
255 dmConnectionPool::Return(m_Pool, m_Connection);
256 }
257 }
258 }
259
260 static void DefaultHttpContentData(HResponse response, void* user_data, int status_code,
261 const void* content_data, uint32_t content_data_size, int32_t content_length,

Callers

nothing calls this directly

Calls 2

ReturnFunction · 0.85
CloseFunction · 0.70

Tested by

no test coverage detected