NetworkClientSetAcceptedEncodingsAsync Method |
Version 99.2.120
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: 99.2.120.0 (99.2.120.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