51 lines
1.4 KiB
C#
51 lines
1.4 KiB
C#
//
|
|
// This file manually written from cef/include/internal/cef_types.h.
|
|
// C API name: cef_urlrequest_flags_t.
|
|
//
|
|
namespace Cef3
|
|
{
|
|
using System;
|
|
|
|
[Flags]
|
|
public enum CefUrlRequestOptions
|
|
{
|
|
/// <summary>
|
|
/// Default behavior.
|
|
/// </summary>
|
|
None = 0,
|
|
|
|
/// <summary>
|
|
/// If set the cache will be skipped when handling the request.
|
|
/// </summary>
|
|
SkipCache = 1 << 0,
|
|
|
|
/// <summary>
|
|
/// If set user name, password, and cookies may be sent with the request, and
|
|
/// cookies may be saved from the response.
|
|
/// </summary>
|
|
AllowCachedCredentials = 1 << 1,
|
|
|
|
/// <summary>
|
|
/// If set upload progress events will be generated when a request has a body.
|
|
/// </summary>
|
|
ReportUploadProgress = 1 << 3,
|
|
|
|
/// <summary>
|
|
/// If set the headers sent and received for the request will be recorded.
|
|
/// </summary>
|
|
ReportRawHeaders = 1 << 5,
|
|
|
|
/// <summary>
|
|
/// If set the <c>CefUrlRequestClient.OnDownloadData</c> method will not be called.
|
|
/// </summary>
|
|
NoDownloadData = 1 << 6,
|
|
|
|
/// <summary>
|
|
/// If set 5XX redirect errors will be propagated to the observer instead of
|
|
/// automatically re-tried. This currently only applies for requests
|
|
/// originated in the browser process.
|
|
/// </summary>
|
|
NoRetryOn5XX = 1 << 7,
|
|
}
|
|
}
|