1
0
mirror of https://github.com/KubaPro010/fm-dx-webserver.git synced 2026-02-27 06:23:53 +01:00

pause/play for stream + ip bugfix

This commit is contained in:
NoobishSVK
2024-01-28 21:51:34 +01:00
parent 325e80db92
commit 857615acfc
4 changed files with 64 additions and 11 deletions

View File

@@ -69,6 +69,11 @@ var WebSocketClient = /** @class */ (function () {
this.DisconnectCallback();
}
};
WebSocketClient.prototype.Close = function () {
if (this.Socket) {
this.Socket.close();
}
};
// Handle incomping data
WebSocketClient.prototype.OnMessage = function (ev) {
// Trigger callback