Click or drag to resize

FetchClientEnableAsync Method

Version 130.1.90
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.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax
public Task<DevToolsMethodResponse> EnableAsync(
	IList<RequestPattern> patterns = null,
	bool? handleAuthRequests = null
)

Parameters

patterns  IListRequestPattern  (Optional)
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  NullableBoolean  (Optional)
If true, authRequired events will be issued and requests will be pausedexpecting a call to continueWithAuth.

Return Value

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