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