WebSocketConnectEventArgs.cs 920 B

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