diff --git a/Sming/SmingCore/Network/HttpServer.cpp b/Sming/SmingCore/Network/HttpServer.cpp index 711e911b5f..ad27683ebd 100644 --- a/Sming/SmingCore/Network/HttpServer.cpp +++ b/Sming/SmingCore/Network/HttpServer.cpp @@ -156,6 +156,11 @@ void HttpServer::setWebSocketMessageHandler(WebSocketMessageDelegate handler) wsMessage = handler; } +void HttpServer::setWebSocketBinaryHandler(WebSocketBinaryDelegate handler) +{ + wsBinary = handler; +} + void HttpServer::setWebSocketDisconnectionHandler(WebSocketDelegate handler) { wsDisconnect = handler;