StorageClientOverrideQuotaForOriginAsync Method |
Version 96.0.142
Override quota for the specified origin
Namespace:
CefSharp.DevTools.Storage
Assembly:
CefSharp (in CefSharp.dll) Version: 96.0.142.0 (96.0.142.0)
Syntax public Task<DevToolsMethodResponse> OverrideQuotaForOriginAsync(
string origin,
double? quotaSize = null
)
public:
Task<DevToolsMethodResponse^>^ OverrideQuotaForOriginAsync(
String^ origin,
Nullable<double> quotaSize = nullptr
)
Parameters
- origin
- Type: SystemString
Security origin. - quotaSize (Optional)
- Type: SystemNullableDouble
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
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also