WebSocketConnectEventArgs.cs 891 B

123456789101112131415161718192021222324252627282930
  1. using System;
  2. using System.Net.WebSockets;
  3. using MediaBrowser.Model.Services;
  4. namespace Emby.Server.Implementations.Net
  5. {
  6. public class WebSocketConnectEventArgs : EventArgs
  7. {
  8. /// <summary>
  9. /// Gets or sets the URL.
  10. /// </summary>
  11. /// <value>The URL.</value>
  12. public string Url { get; set; }
  13. /// <summary>
  14. /// Gets or sets the query string.
  15. /// </summary>
  16. /// <value>The query string.</value>
  17. public QueryParamCollection QueryString { get; set; }
  18. /// <summary>
  19. /// Gets or sets the web socket.
  20. /// </summary>
  21. /// <value>The web socket.</value>
  22. public IWebSocket WebSocket { get; set; }
  23. /// <summary>
  24. /// Gets or sets the endpoint.
  25. /// </summary>
  26. /// <value>The endpoint.</value>
  27. public string Endpoint { get; set; }
  28. }
  29. }