MCPcopy Create free account
hub / github.com/acl-dev/acl / on_ws_handshake

Function on_ws_handshake

lib_acl_cpp/include/acl_cpp/http/http_aclient.hpp:275–279  ·  view source on GitHub ↗

* Callback when websocket handshake succeeds. * @return {bool} Returns false to indicate need to close connection, otherwise * continues. */

Source from the content-addressed store, hash-verified

273 * continues.
274 */
275 virtual bool on_ws_handshake() {
276 // Initialize asynchronous websocket reading.
277 this->ws_read_wait(0);
278 return true;
279 }
280
281 /**
282 * Callback when websocket handshake fails.

Callers

nothing calls this directly

Calls 1

ws_read_waitMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…