FetchClientGetResponseBodyAsync Method |
Version 130.1.90
Causes the body of the response to be received from the server and
returned as a single string. May only be issued for a request that
is paused in the Response stage and is mutually exclusive with
takeResponseBodyForInterceptionAsStream. Calling other methods that
affect the request or disabling fetch domain before body is received
results in an undefined behavior.
Note that the response body is not available for redirects. Requests
paused in the _redirect received_ state may be differentiated by
`responseCode` and presence of `location` response header, see
comments to `requestPaused` for details.
Namespace: CefSharp.DevTools.FetchAssembly: CefSharp.Core (in CefSharp.Core.dll) Version: 129.0.110.0
Syntax public Task<GetResponseBodyResponse> GetResponseBodyAsync(
string requestId
)
public:
Task<GetResponseBodyResponse^>^ GetResponseBodyAsync(
String^ requestId
)
Parameters
- requestId String
- Identifier for the intercepted request to get body for.
Return Value
TaskGetResponseBodyResponsereturns System.Threading.Tasks.Task<GetResponseBodyResponse>
See Also