ConnectionOptions.cs 1.0 KB

1234567891011121314151617181920212223242526272829
  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. /// <summary>
  17. /// Gets or sets a value indicating whether [update date last accessed].
  18. /// </summary>
  19. /// <value><c>true</c> if [update date last accessed]; otherwise, <c>false</c>.</value>
  20. public bool UpdateDateLastAccessed { get; set; }
  21. public ConnectionOptions()
  22. {
  23. EnableWebSocket = true;
  24. ReportCapabilities = true;
  25. UpdateDateLastAccessed = true;
  26. }
  27. }
  28. }