Click or drag to resize

FetchClient.ContinueResponseAsync Method

Version 113.3.50
Continues loading of the paused response, optionally modifying the response headers. If either responseCode or headers are modified, all of them must be present.

Namespace:  CefSharp.DevTools.Fetch
Assembly:  CefSharp.Core (in CefSharp.Core.dll) Version: 113.3.50.0
Syntax
public Task<DevToolsMethodResponse> ContinueResponseAsync(
	string requestId,
	int? responseCode = null,
	string responsePhrase = null,
	IList<HeaderEntry> responseHeaders = null,
	byte[] binaryResponseHeaders = null
)

Parameters

requestId
Type: System.String
An id the client received in requestPaused event.
responseCode (Optional)
Type: System.Nullable<Int32>
An HTTP response code. If absent, original response code will be used.
responsePhrase (Optional)
Type: System.String
A textual representation of responseCode.If absent, a standard phrase matching responseCode is used.
responseHeaders (Optional)
Type: System.Collections.Generic.IList<HeaderEntry>
Response headers. If absent, original response headers will be used.
binaryResponseHeaders (Optional)
Type:System.Byte[]
Alternative way of specifying response headers as a \0-separatedseries of name: value pairs. Prefer the above method unless youneed to represent some non-UTF8 values that can't be transmittedover the protocol as text.

Return Value

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