MCPcopy Create free account
hub / github.com/PlutoLang/Pluto / HasConnectionTask

Method HasConnectionTask

src/lhttplib.cpp:190–190  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

188 bool tls;
189
190 HasConnectionTask(std::string&& host, uint16_t port, bool tls) : host(std::move(host)), port(port), tls(tls) {}
191
192 void onTick() {
193 fulfil(soup::Scheduler::get()->findReusableSocket(host, port, tls ? soup::SOCKET_TLS : soup::SOCKET_INSECURE));

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected