StorageClientOverrideQuotaForOriginAsync Method |
Version 130.1.90
Override quota for the specified origin
Namespace: CefSharp.DevTools.StorageAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<DevToolsMethodResponse> OverrideQuotaForOriginAsync(
string origin,
double? quotaSize = null
)
public:
Task<DevToolsMethodResponse^>^ OverrideQuotaForOriginAsync(
String^ origin,
Nullable<double> quotaSize = nullptr
)
Parameters
- origin String
- Security origin.
- quotaSize NullableDouble (Optional)
- The quota size (in bytes) to override the original quota with.If this is called multiple times, the overridden quota will be equal tothe quotaSize provided in the final call. If this is called withoutspecifying a quotaSize, the quota will be reset to the default value forthe specified origin. If this is called multiple times with differentorigins, the override will be maintained for each origin until it isdisabled (called without a quotaSize).
Return Value
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also