Click or drag to resize

StorageClientOverrideQuotaForOriginAsync Method

Version 91.1.160
Override quota for the specified origin

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

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