MCPcopy Create free account
hub / github.com/cocos/cocos-engine / onError

Method onError

native/cocos/network/SocketIO.cpp:893–895  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

891}
892
893void SIOClientImpl::onError(WebSocket * /*ws*/, const WebSocket::ErrorCode &error) {
894 CC_LOG_ERROR("Websocket error received: %d", static_cast<int>(error));
895}
896
897//begin SIOClient methods
898SIOClient::SIOClient(ccstd::string path, SIOClientImpl *impl, SocketIO::SIODelegate &delegate)

Callers 4

handshakeResponseMethod · 0.45
sendMethod · 0.45
emitMethod · 0.45
onConnectionErrorMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected