// 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
{
///
/// 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.
///
public interface IUrlRequest : IDisposable
{
///
/// True if the response was served from the cache.
///
bool ResponseWasCached { get; }
///
/// The response, or null if no response information is available
///
IResponse Response { get; }
///
/// The request status.
///
UrlRequestStatus RequestStatus { get; }
}
}