setAcceptedEncodings method

Future<void> setAcceptedEncodings(
  1. List<ContentEncoding> encodings
)

Sets a list of content encodings that will be accepted. Empty list means no encoding is accepted. encodings List of accepted content encodings.

Implementation

Future<void> setAcceptedEncodings(List<ContentEncoding> encodings) async {
  await _client.send('Network.setAcceptedEncodings', {
    'encodings': [...encodings],
  });
}