mirror of
https://github.com/jellyfin/jellyfin.git
synced 2024-07-11 08:10:34 +02:00
make socket logging message more descriptive
This commit is contained in:
parent
8398a5a32e
commit
a0fea896fd
|
@ -116,7 +116,7 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||||
|
|
||||||
if (result.CloseStatus.HasValue)
|
if (result.CloseStatus.HasValue)
|
||||||
{
|
{
|
||||||
_logger.Info("Web socket connection closed.");
|
_logger.Info("Web socket connection closed by client.");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -169,6 +169,10 @@ namespace MediaBrowser.Server.Implementations.HttpServer
|
||||||
/// <value>The receive action.</value>
|
/// <value>The receive action.</value>
|
||||||
public Action<byte[]> OnReceiveBytes { get; set; }
|
public Action<byte[]> OnReceiveBytes { get; set; }
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Gets or sets the on receive.
|
||||||
|
/// </summary>
|
||||||
|
/// <value>The on receive.</value>
|
||||||
public Action<string> OnReceive { get; set; }
|
public Action<string> OnReceive { get; set; }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue