NetworkClientSetAcceptedEncodingsAsync Method |
Version 101.0.180
Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted.
Namespace:
CefSharp.DevTools.Network
Assembly:
CefSharp (in CefSharp.dll) Version: 101.0.180.0 (101.0.180.0)
Syntax public Task<DevToolsMethodResponse> SetAcceptedEncodingsAsync(
ContentEncoding[] encodings
)
public:
Task<DevToolsMethodResponse^>^ SetAcceptedEncodingsAsync(
array<ContentEncoding>^ encodings
)
Parameters
- encodings
- Type: CefSharp.DevTools.NetworkContentEncoding
List of accepted content encodings.
Return Value
Type:
TaskDevToolsMethodResponsereturns System.Threading.Tasks.Task<DevToolsMethodResponse>
See Also