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

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