aboutsummaryrefslogtreecommitdiff
path: root/MediaBrowser.Model/ApiClient/ConnectionOptions.cs
blob: e12676311bcec7d272b5c004fce554306e7ff4eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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; }
        /// <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; }

        public ConnectionOptions()
        {
            EnableWebSocket = true;
            ReportCapabilities = true;
            UpdateDateLastAccessed = true;
        }
    }
}