AuditsClientGetEncodedResponseAsync Method |
Version 88.2.90
Returns the response body and size if it were re-encoded with the specified settings. Only
applies to images.
Namespace:
CefSharp.DevTools.Audits
Assembly:
CefSharp (in CefSharp.dll) Version: 88.2.90.0 (88.2.90.0)
Syntax public Task<GetEncodedResponseResponse> GetEncodedResponseAsync(
string requestId,
string encoding,
Nullable<long> quality = null,
Nullable<bool> sizeOnly = null
)
public:
Task<GetEncodedResponseResponse^>^ GetEncodedResponseAsync(
String^ requestId,
String^ encoding,
Nullable<long long> quality = nullptr,
Nullable<bool> sizeOnly = nullptr
)
Parameters
- requestId
- Type: SystemString
Identifier of the network request to get content for. - encoding
- Type: SystemString
The encoding to use. - quality (Optional)
- Type: SystemNullableInt64
The quality of the encoding (0-1). (defaults to 1) - sizeOnly (Optional)
- Type: SystemNullableBoolean
Whether to only return the size information (defaults to false).
Return Value
Type:
TaskGetEncodedResponseResponsereturns System.Threading.Tasks.Task<GetEncodedResponseResponse>
See Also