Fix code issues

This commit is contained in:
gion
2020-05-04 19:46:02 +02:00
parent 0b974d09ca
commit 6e22e9222b
11 changed files with 287 additions and 218 deletions

View File

@@ -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);