HttpResponseEventArgs.cs 893 B

123456789101112131415161718192021222324252627282930313233
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Net;
  4. namespace MediaBrowser.Model.ApiClient
  5. {
  6. /// <summary>
  7. /// Class HttpResponseEventArgs
  8. /// </summary>
  9. public class HttpResponseEventArgs : EventArgs
  10. {
  11. /// <summary>
  12. /// Gets or sets the URL.
  13. /// </summary>
  14. /// <value>The URL.</value>
  15. public string Url { get; set; }
  16. /// <summary>
  17. /// Gets or sets the status code.
  18. /// </summary>
  19. /// <value>The status code.</value>
  20. public HttpStatusCode StatusCode { get; set; }
  21. /// <summary>
  22. /// Gets or sets the headers.
  23. /// </summary>
  24. /// <value>The headers.</value>
  25. public Dictionary<string, string> Headers { get; set; }
  26. public HttpResponseEventArgs()
  27. {
  28. Headers = new Dictionary<string, string>();
  29. }
  30. }
  31. }