jellyfin/MediaBrowser.Model/ApiClient/ConnectionOptions.cs

30 lines
1.0 KiB
C#
Raw Normal View History

2014-12-16 05:01:57 +00:00

namespace MediaBrowser.Model.ApiClient
{
public class ConnectionOptions
{
/// <summary>
/// Gets or sets a value indicating whether [enable web socket].
/// </summary>
/// <value><c>true</c> if [enable web socket]; otherwise, <c>false</c>.</value>
public bool EnableWebSocket { get; set; }
/// <summary>
/// Gets or sets a value indicating whether [report capabilities].
/// </summary>
/// <value><c>true</c> if [report capabilities]; otherwise, <c>false</c>.</value>
public bool ReportCapabilities { get; set; }
2015-02-27 17:43:06 +00:00
/// <summary>
/// Gets or sets a value indicating whether [update date last accessed].
/// </summary>
/// <value><c>true</c> if [update date last accessed]; otherwise, <c>false</c>.</value>
public bool UpdateDateLastAccessed { get; set; }
2014-12-16 05:01:57 +00:00
public ConnectionOptions()
{
EnableWebSocket = true;
ReportCapabilities = true;
2015-02-27 17:43:06 +00:00
UpdateDateLastAccessed = true;
2014-12-16 05:01:57 +00:00
}
}
}