getHttpProfile method

Future<HttpProfile> getHttpProfile(
  1. String isolateId,
  2. {int? updatedSince}

The getHttpProfile RPC is used to retrieve HTTP profiling information for requests made via dart:io's HttpClient.

The returned HttpProfile will only include requests issued after httpTimelineLogging has been enabled or after the last clearHttpProfile invocation.

If updatedSince is provided, only requests started or updated since the specified time will be reported.


Future<HttpProfile> getHttpProfile(String isolateId, {int? updatedSince}) =>
    _callHelper('', isolateId, args: {
      if (updatedSince != null) 'updatedSince': updatedSince,