Click or drag to resize

FetchClientEnableAsync Method

Version 107.1.120
Enables issuing of requestPaused events. A request will be paused until client calls one of failRequest, fulfillRequest or continueRequest/continueWithAuth.

Namespace:  CefSharp.DevTools.Fetch
Assembly:  CefSharp (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public Task<DevToolsMethodResponse> EnableAsync(
	IList<RequestPattern> patterns = null,
	bool? handleAuthRequests = null
)

Parameters

patterns (Optional)
Type: System.Collections.GenericIListRequestPattern
If specified, only requests matching any of these patterns will producefetchRequested event and will be paused until clients response. If not set,all requests will be affected.
handleAuthRequests (Optional)
Type: SystemNullableBoolean
If true, authRequired events will be issued and requests will be pausedexpecting a call to continueWithAuth.

Return Value

Type: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also