Ingen beskrivning
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

IUrlRequest.cs 1.1KB

123456789101112131415161718192021222324252627282930313233
  1. // Copyright © 2019 The CefSharp Authors. All rights reserved.
  2. //
  3. // Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
  4. using System;
  5. namespace CefSharp
  6. {
  7. /// <summary>
  8. /// Class used to make a URL request. URL requests are not associated with
  9. /// a browser instance so no CefClient callbacks will be executed.
  10. /// URL requests can be created on any valid CEF thread in either the browser
  11. /// or render process. Once created the methods of the URL request object must
  12. /// be accessed on the same thread that created it.
  13. /// </summary>
  14. public interface IUrlRequest : IDisposable
  15. {
  16. /// <summary>
  17. /// True if the response was served from the cache.
  18. /// </summary>
  19. bool ResponseWasCached { get; }
  20. /// <summary>
  21. /// The response, or null if no response information is available
  22. /// </summary>
  23. IResponse Response { get; }
  24. /// <summary>
  25. /// The request status.
  26. /// </summary>
  27. UrlRequestStatus RequestStatus { get; }
  28. }
  29. }