MCPcopy Create free account
hub / github.com/chronoxor/CppServer / onHandshaked

Method onHandshaked

source/server/http/https_client.cpp:122–130  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

120}
121
122void HTTPSClientEx::onHandshaked()
123{
124 HTTPSClient::onHandshaked();
125
126 // Send prepared HTTP request on connect
127 if (!_request.empty() && !_request.error())
128 if (!SendRequestAsync())
129 SetPromiseError("Failed to send HTTP request!");
130}
131
132void HTTPSClientEx::onDisconnected()
133{

Callers

nothing calls this directly

Calls 2

emptyMethod · 0.45
errorMethod · 0.45

Tested by

no test coverage detected