StorageClientOverrideQuotaForOriginAsync Method |
Version 89.0.170
Override quota for the specified origin
Namespace:
CefSharp.DevTools.Storage
Assembly:
CefSharp (in CefSharp.dll) Version: 89.0.170.0 (89.0.170.0)
Syntax public Task<DevToolsMethodResponse> OverrideQuotaForOriginAsync(
string origin,
Nullable<long> quotaSize = null
)
public:
Task<DevToolsMethodResponse^>^ OverrideQuotaForOriginAsync(
String^ origin,
Nullable<long long> quotaSize = nullptr
)
Parameters
- origin
- Type: SystemString
Security origin. - quotaSize (Optional)
- Type: SystemNullableInt64
The quota size (in bytes) to override the original quota with.If this is called multiple times, the overriden 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