DartIOExtension extension

on

Methods

clearHttpProfile(String isolateId) Future<Success>

Available on VmService, provided by the DartIOExtension extension

The clearHttpProfile RPC is used to clear previously recorded HTTP requests from the HTTP profiler state. Requests still in-flight after clearing the profiler state will be ignored by the profiler.
clearSocketProfile(String isolateId) Future<Success>

Available on VmService, provided by the DartIOExtension extension

Removes all statistics associated with prior and current sockets.
getDartIOVersion(String isolateId) Future<Version>

Available on VmService, provided by the DartIOExtension extension

The getDartIOVersion RPC returns the available version of the dart:io service protocol extensions.
getHttpProfile(String isolateId, {DateTime? updatedSince}) Future<HttpProfile>

Available on VmService, provided by the DartIOExtension extension

The getHttpProfile RPC is used to retrieve HTTP profiling information for requests made via dart:io's HttpClient.
getHttpProfileRequest(String isolateId, String id) Future<HttpProfileRequest>

Available on VmService, provided by the DartIOExtension extension

The getHttpProfileRequest RPC is used to retrieve an instance of HttpProfileRequest, which includes request and response body data.
getOpenFileById(String isolateId, int id) Future<OpenFile>

Available on VmService, provided by the DartIOExtension extension

The getOpenFileById RPC is used to retrieve information about files currently opened by dart:io from a given isolate.
getOpenFiles(String isolateId) Future<OpenFileList>

Available on VmService, provided by the DartIOExtension extension

The getOpenFiles RPC is used to retrieve the list of files currently opened files by dart:io from a given isolate.
getSocketProfile(String isolateId) Future<SocketProfile>

Available on VmService, provided by the DartIOExtension extension

The getSocketProfile RPC is used to retrieve socket statistics collected by the socket profiler. Only samples collected after the initial socketProfilingEnabled call or the last call to clearSocketProfile will be reported.
getSpawnedProcessById(String isolateId, int id) Future<SpawnedProcess>

Available on VmService, provided by the DartIOExtension extension

The getSpawnedProcessById RPC is used to retrieve information about a process spawned by dart:io from a given isolate.
getSpawnedProcesses(String isolateId) Future<SpawnedProcessList>

Available on VmService, provided by the DartIOExtension extension

The getSpawnedProcesses RPC is used to retrieve the list of processed opened by dart:io from a given isolate
httpEnableTimelineLogging(String isolateId, [bool? enabled]) Future<HttpTimelineLoggingState>

Available on VmService, provided by the DartIOExtension extension

The httpEnableTimelineLogging RPC is used to set and inspect the value of HttpClient.enableTimelineLogging, which determines if HTTP client requests should be logged to the timeline. If enabled is provided, the state of HttpClient.enableTimelineLogging will be updated to the value of enabled.
isHttpProfilingAvailable(String isolateId) Future<bool>

Available on VmService, provided by the DartIOExtension extension

Whether HTTP profiling is available for the given isolateId.
isHttpTimelineLoggingAvailable(String isolateId) Future<bool>

Available on VmService, provided by the DartIOExtension extension

Whether HTTP timeline logging is available for the given isolateId.
isSocketProfilingAvailable(String isolateId) Future<bool>

Available on VmService, provided by the DartIOExtension extension

Whether socket profiling is available for the given isolateId.
socketProfilingEnabled(String isolateId, [bool? enabled]) Future<SocketProfilingState>

Available on VmService, provided by the DartIOExtension extension

The socketProfilingEnabled RPC is used to enable/disable the socket profiler and query its current state. If enabled is provided, the profiler state will be updated to reflect the value of enabled.