FetchClientContinueResponseAsync Method |
Version 100.0.140
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: 100.0.140.0 (100.0.140.0)
Syntax public Task<DevToolsMethodResponse> ContinueResponseAsync(
string requestId,
int? responseCode = null,
string responsePhrase = null,
IList<HeaderEntry> responseHeaders = null,
byte[] binaryResponseHeaders = null
)
public:
Task<DevToolsMethodResponse^>^ ContinueResponseAsync(
String^ requestId,
Nullable<int> responseCode = nullptr,
String^ responsePhrase = nullptr,
IList<HeaderEntry^>^ responseHeaders = nullptr,
array<unsigned char>^ binaryResponseHeaders = nullptr
)
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:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also