HttpResponseInfo.cs 928 B

1234567891011121314151617181920212223242526272829303132333435
  1. using System.IO;
  2. using System.Net;
  3. namespace MediaBrowser.Common.Net
  4. {
  5. /// <summary>
  6. /// Class HttpResponseInfo
  7. /// </summary>
  8. public class HttpResponseInfo
  9. {
  10. /// <summary>
  11. /// Gets or sets the type of the content.
  12. /// </summary>
  13. /// <value>The type of the content.</value>
  14. public string ContentType { get; set; }
  15. /// <summary>
  16. /// Gets or sets the content.
  17. /// </summary>
  18. /// <value>The content.</value>
  19. public Stream Content { get; set; }
  20. /// <summary>
  21. /// Gets or sets the status code.
  22. /// </summary>
  23. /// <value>The status code.</value>
  24. public HttpStatusCode StatusCode { get; set; }
  25. /// <summary>
  26. /// Gets or sets the temp file path.
  27. /// </summary>
  28. /// <value>The temp file path.</value>
  29. public string TempFilePath { get; set; }
  30. }
  31. }