DartIOExtension extension
- on
Methods
-
clearHttpProfile(
String isolateId) → Future< Success> -
Available on VmService, provided by the DartIOExtension extension
TheclearHttpProfileRPC 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
ThegetDartIOVersionRPC 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
ThegetHttpProfileRPC is used to retrieve HTTP profiling information for requests made viadart:io'sHttpClient. -
getHttpProfileRequest(
String isolateId, String id) → Future< HttpProfileRequest> -
Available on VmService, provided by the DartIOExtension extension
ThegetHttpProfileRequestRPC 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
ThegetOpenFileByIdRPC is used to retrieve information about files currently opened bydart:iofrom a given isolate. -
getOpenFiles(
String isolateId) → Future< OpenFileList> -
Available on VmService, provided by the DartIOExtension extension
ThegetOpenFilesRPC is used to retrieve the list of files currently opened files bydart:iofrom a given isolate. -
getSocketProfile(
String isolateId) → Future< SocketProfile> -
Available on VmService, provided by the DartIOExtension extension
ThegetSocketProfileRPC 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
ThegetSpawnedProcessByIdRPC is used to retrieve information about a process spawned bydart:iofrom a given isolate. -
getSpawnedProcesses(
String isolateId) → Future< SpawnedProcessList> -
Available on VmService, provided by the DartIOExtension extension
ThegetSpawnedProcessesRPC is used to retrieve the list of processed opened bydart:iofrom a given isolate -
httpEnableTimelineLogging(
String isolateId, [bool? enabled]) → Future< HttpTimelineLoggingState> -
Available on VmService, provided by the DartIOExtension extension
ThehttpEnableTimelineLoggingRPC is used to set and inspect the value ofHttpClient.enableTimelineLogging, which determines if HTTP client requests should be logged to the timeline. Ifenabledis provided, the state ofHttpClient.enableTimelineLoggingwill be updated to the value ofenabled. -
isHttpProfilingAvailable(
String isolateId) → Future< bool> -
Available on VmService, provided by the DartIOExtension extension
Whether HTTP profiling is available for the givenisolateId. -
isHttpTimelineLoggingAvailable(
String isolateId) → Future< bool> -
Available on VmService, provided by the DartIOExtension extension
Whether HTTP timeline logging is available for the givenisolateId. -
isSocketProfilingAvailable(
String isolateId) → Future< bool> -
Available on VmService, provided by the DartIOExtension extension
Whether socket profiling is available for the givenisolateId. -
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. Ifenabledis provided, the profiler state will be updated to reflect the value ofenabled.