Click or drag to resize

FetchClientContinueResponseAsync Method

Version 107.1.120
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 (in CefSharp.dll) Version: 107.1.120.0 (107.1.120.0)
Syntax
public Task<DevToolsMethodResponse> ContinueResponseAsync(
	string requestId,
	int? responseCode = null,
	string responsePhrase = null,
	IList<HeaderEntry> responseHeaders = null,
	byte[] binaryResponseHeaders = null
)

Parameters

requestId
Type: SystemString
An id the client received in requestPaused event.
responseCode (Optional)
Type: SystemNullableInt32
An HTTP response code. If absent, original response code will be used.
responsePhrase (Optional)
Type: SystemString
A textual representation of responseCode.If absent, a standard phrase matching responseCode is used.
responseHeaders (Optional)
Type: System.Collections.GenericIListHeaderEntry
Response headers. If absent, original response headers will be used.
binaryResponseHeaders (Optional)
Type: SystemByte
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: TaskDevToolsMethodResponse
returns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also