Click or drag to resize

StorageClientOverrideQuotaForOriginAsync Method

Version 94.4.20
Override quota for the specified origin

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

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: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also