Files
lserp_cs_5.0/插件库/Cef3.24/Enums/CefUrlRequestFlags.cs
T
2026-07-10 15:25:05 +08:00

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,
}
}