MCPcopy Create free account
hub / github.com/crosspoint-reader/crosspoint-reader / wsEventCallback

Method wsEventCallback

src/network/CrossPointWebServer.cpp:1525–1529  ·  view source on GitHub ↗

WebSocket callback trampoline

Source from the content-addressed store, hash-verified

1523
1524// WebSocket callback trampoline
1525void CrossPointWebServer::wsEventCallback(uint8_t num, WStype_t type, uint8_t* payload, size_t length) {
1526 if (wsInstance) {
1527 wsInstance->onWebSocketEvent(num, type, payload, length);
1528 }
1529}
1530
1531// WebSocket event handler for fast binary uploads
1532// Protocol:

Callers

nothing calls this directly

Calls 1

onWebSocketEventMethod · 0.80

Tested by

no test coverage detected