ConnectionOptions.cs 744 B

1234567891011121314151617181920212223
  1. 
  2. namespace MediaBrowser.Model.ApiClient
  3. {
  4. public class ConnectionOptions
  5. {
  6. /// <summary>
  7. /// Gets or sets a value indicating whether [enable web socket].
  8. /// </summary>
  9. /// <value><c>true</c> if [enable web socket]; otherwise, <c>false</c>.</value>
  10. public bool EnableWebSocket { get; set; }
  11. /// <summary>
  12. /// Gets or sets a value indicating whether [report capabilities].
  13. /// </summary>
  14. /// <value><c>true</c> if [report capabilities]; otherwise, <c>false</c>.</value>
  15. public bool ReportCapabilities { get; set; }
  16. public ConnectionOptions()
  17. {
  18. EnableWebSocket = true;
  19. ReportCapabilities = true;
  20. }
  21. }
  22. }