MCPcopy Create free account
hub / github.com/brainboxdotcc/DPP / close

Method close

src/dpp/httpsclient.cpp:347–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

345}
346
347void https_client::close() {
348 if (state != HTTPS_DONE) {
349 if (completed) {
350 completed(this);
351 completed = {};
352 }
353 }
354 state = HTTPS_DONE;
355 ssl_connection::close();
356}
357
358https_client::~https_client() {
359 if (sfd != INVALID_SOCKET) {

Callers 2

handle_bufferMethod · 0.95
one_second_timerMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected