Click or drag to resize

StorageClient.OverrideQuotaForOriginAsync Method

Version 104.4.240
Override quota for the specified origin

Namespace:  CefSharp.DevTools.Storage
Assembly:  CefSharp (in CefSharp.dll) Version: 104.4.240.0 (104.4.240.0)
Syntax
public Task<DevToolsMethodResponse> OverrideQuotaForOriginAsync(
	string origin,
	double? quotaSize = null
)

Parameters

origin
Type: System.String
Security origin.
quotaSize (Optional)
Type: System.Nullable<Double>
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: Task<DevToolsMethodResponse>
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also