aboutsummaryrefslogtreecommitdiff
path: root/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
diff options
context:
space:
mode:
authorgion <oancaionutandrei@gmail.com>2020-05-04 19:46:02 +0200
committergion <oancaionutandrei@gmail.com>2020-05-09 12:37:23 +0200
commit6e22e9222b68ad117550c02a8cbce2d65878f50b (patch)
treec5654f590a3aecf9a4691f25beb5e41d57442ede /Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
parent0b974d09ca08f70d9cd61d4871698956026b7b3b (diff)
Fix code issues
Diffstat (limited to 'Emby.Server.Implementations/HttpServer/WebSocketConnection.cs')
-rw-r--r--Emby.Server.Implementations/HttpServer/WebSocketConnection.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
index c819c163a..4c33ff71b 100644
--- a/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
+++ b/Emby.Server.Implementations/HttpServer/WebSocketConnection.cs
@@ -238,10 +238,10 @@ namespace Emby.Server.Implementations.HttpServer
return _socket.SendAsync(text, true, cancellationToken);
}
- private Task SendKeepAliveResponse()
+ private void SendKeepAliveResponse()
{
LastKeepAliveDate = DateTime.UtcNow;
- return SendAsync(new WebSocketMessage<string>
+ SendAsync(new WebSocketMessage<string>
{
MessageType = "KeepAlive"
}, CancellationToken.None);