getHttpProfileRequest method

Future<HttpProfileRequest> getHttpProfileRequest(
  1. String isolateId,
  2. String id
)

The getHttpProfileRequest RPC is used to retrieve an instance of HttpProfileRequest, which includes request and response body data.

Implementation

Future<HttpProfileRequest> getHttpProfileRequest(
  String isolateId,
  String id,
) async {
  assert(await isHttpProfilingAvailable(isolateId));
  return _callHelper(
    'ext.dart.io.getHttpProfileRequest',
    isolateId,
    args: {'id': id},
  );
}