diff options
| author | Claus Vium <clausvium@gmail.com> | 2019-03-06 19:14:03 +0100 |
|---|---|---|
| committer | Claus Vium <clausvium@gmail.com> | 2019-03-06 19:14:03 +0100 |
| commit | 394d23a73a530b5ce2609d01575e0ced734aecfe (patch) | |
| tree | b4d0e250616ad0b401c50209cea4f839c8e6f0c9 /Emby.Server.Implementations/WebSockets | |
| parent | 446f9bf81fa3ac737acda71d57fdc7289c227cef (diff) | |
Review comments
Diffstat (limited to 'Emby.Server.Implementations/WebSockets')
| -rw-r--r-- | Emby.Server.Implementations/WebSockets/WebSocketManager.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Emby.Server.Implementations/WebSockets/WebSocketManager.cs b/Emby.Server.Implementations/WebSockets/WebSocketManager.cs index 5db2c8da7..04c73ecea 100644 --- a/Emby.Server.Implementations/WebSockets/WebSocketManager.cs +++ b/Emby.Server.Implementations/WebSockets/WebSocketManager.cs @@ -65,7 +65,7 @@ namespace Emby.Server.Implementations.WebSockets ? Encoding.UTF8.GetString(messageBytes, 0, messageBytes.Length) : Encoding.ASCII.GetString(messageBytes, 0, messageBytes.Length); - // All messages are expected to be json + // All messages are expected to be valid JSON objects if (!message.StartsWith("{", StringComparison.OrdinalIgnoreCase)) { _logger.LogDebug("Received web socket message that is not a json structure: {Message}", message); |
