FetchClientEnableAsync Method |
Version 88.2.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 (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public Task<DevToolsMethodResponse> EnableAsync(
IList<RequestPattern> patterns = null,
Nullable<bool> handleAuthRequests = null
)
public:
Task<DevToolsMethodResponse^>^ EnableAsync(
IList<RequestPattern^>^ patterns = nullptr,
Nullable<bool> handleAuthRequests = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also