replayXHR method

Future<void> replayXHR(
  1. RequestId requestId
)

This method sends a new XMLHttpRequest which is identical to the original one. The following parameters should be identical: method, url, async, request body, extra headers, withCredentials attribute, user, password. requestId Identifier of XHR to replay.

Implementation

Future<void> replayXHR(RequestId requestId) async {
  await _client.send('Network.replayXHR', {
    'requestId': requestId,
  });
}