mirror of
https://github.com/cefsharp/CefSharp.git
synced 2026-12-04 10:22:55 +00:00
46 lines
1.4 KiB
C#
46 lines
1.4 KiB
C#
// Copyright © 2010-2015 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;
|
|
using System.Collections.Specialized;
|
|
|
|
namespace CefSharp
|
|
{
|
|
public interface IRequest : IDisposable
|
|
{
|
|
/// <summary>
|
|
/// Request Url
|
|
/// </summary>
|
|
string Url { get; set; }
|
|
|
|
/// <summary>
|
|
/// Request Method GET/POST etc
|
|
/// </summary>
|
|
string Method { get; }
|
|
|
|
/// <summary>
|
|
/// Header Collection
|
|
/// NOTE: This collection is a copy of the underlying type, to make changes, take a reference to the collection,
|
|
/// make your changes, then reassign the collection. At some point this will be replaced with a proper wrapper.
|
|
/// </summary>
|
|
NameValueCollection Headers { get; set; }
|
|
|
|
/// <summary>
|
|
/// Post data
|
|
/// </summary>
|
|
IPostData PostData { get; }
|
|
|
|
/// <summary>
|
|
/// Get the transition type for this request.
|
|
/// Applies to requests that represent a main frame or sub-frame navigation.
|
|
/// </summary>
|
|
TransitionType TransitionType { get; }
|
|
|
|
/// <summary>
|
|
/// Gets a value indicating whether the request has been disposed of.
|
|
/// </summary>
|
|
bool IsDisposed { get; }
|
|
}
|
|
}
|