setExtraHTTPHeaders method

Future<void> setExtraHTTPHeaders(
  1. Headers headers
)

Specifies whether to always send extra HTTP headers with the requests from this page. headers Map with extra HTTP headers.

Implementation

Future<void> setExtraHTTPHeaders(Headers headers) async {
  await _client.send('Network.setExtraHTTPHeaders', {
    'headers': headers,
  });
}