getResponseBodyForInterception method

Future<GetResponseBodyForInterceptionResult> getResponseBodyForInterception(
  1. InterceptionId interceptionId
)

Returns content served for the given currently intercepted request. interceptionId Identifier for the intercepted request to get body for.

Implementation

Future<GetResponseBodyForInterceptionResult> getResponseBodyForInterception(
    InterceptionId interceptionId) async {
  var result = await _client.send('Network.getResponseBodyForInterception', {
    'interceptionId': interceptionId,
  });
  return GetResponseBodyForInterceptionResult.fromJson(result);
}