Click or drag to resize

UrlRequestFlags Enumeration

Version 75.1.140
Flags used to customize the behavior of CefURLRequest.

Namespace:  CefSharp
Assembly:  CefSharp (in CefSharp.dll) Version: 75.1.140.0 (75.1.140.0)
Syntax
[FlagsAttribute]
public enum UrlRequestFlags
Members
  Member nameValueDescription
None0 Default behavior.
SkipCache1 If set the cache will be skipped when handling the request. Setting this value is equivalent to specifying the "Cache-Control: no-cache" request header. Setting this value in combination with OnlyFromCache will cause the request to fail.
OnlyFromCache2 If set the request will fail if it cannot be served from the cache (or some equivalent local store). Setting this value is equivalent to specifying the "Cache-Control: only-if-cached" request header. Setting this value in combination with SkipCache or DisableCache will cause the request to fail.
DisableCache4 If set the cache will not be used at all. Setting this value is equivalent to specifying the "Cache-Control: no-store" request header. Setting this value in combination with OnlyFromCache will cause the request to fail.
AllowStoredCredentials8 If set user name, password, and cookies may be sent with the request, and cookies may be saved from the response.
ReportUploadProgress16 If set upload progress events will be generated when a request has a body.
NoDownloadData32 If set the CefURLRequestClient::OnDownloadData method will not be called.
NoRetryOn5XX64 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.
StopOnRedirect128 If set 3XX responses will cause the fetch to halt immediately rather than continue through the redirect.
See Also