Click or drag to resize

FetchClient.FailRequestAsync Method

Version 93.1.111
Causes the request to fail with specified reason.

Namespace:  CefSharp.DevTools.Fetch
Assembly:  CefSharp (in CefSharp.dll) Version: 93.1.111.0 (93.1.111.0)
Syntax
public Task<DevToolsMethodResponse> FailRequestAsync(
	string requestId,
	ErrorReason errorReason
)

Parameters

requestId
Type: System.String
An id the client received in requestPaused event.
errorReason
Type: CefSharp.DevTools.Network.ErrorReason
Causes the request to fail with the given reason.

Return Value

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