DartIOExtension extension
- on
Methods
-
clearHttpProfile(
String isolateId) → Future< Success> -
Available on VmService, provided by the DartIOExtension extension
TheclearHttpProfile
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
ThegetDartIOVersion
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
ThegetHttpProfile
RPC 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
ThegetHttpProfileRequest
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
ThegetOpenFileById
RPC is used to retrieve information about files currently opened bydart:io
from a given isolate. -
getOpenFiles(
String isolateId) → Future< OpenFileList> -
Available on VmService, provided by the DartIOExtension extension
ThegetOpenFiles
RPC is used to retrieve the list of files currently opened files bydart:io
from a given isolate. -
getSocketProfile(
String isolateId) → Future< SocketProfile> -
Available on VmService, provided by the DartIOExtension extension
ThegetSocketProfile
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
ThegetSpawnedProcessById
RPC is used to retrieve information about a process spawned bydart:io
from a given isolate. -
getSpawnedProcesses(
String isolateId) → Future< SpawnedProcessList> -
Available on VmService, provided by the DartIOExtension extension
ThegetSpawnedProcesses
RPC is used to retrieve the list of processed opened bydart:io
from a given isolate -
httpEnableTimelineLogging(
String isolateId, [bool? enabled]) → Future< HttpTimelineLoggingState> -
Available on VmService, provided by the DartIOExtension extension
ThehttpEnableTimelineLogging
RPC is used to set and inspect the value ofHttpClient.enableTimelineLogging
, which determines if HTTP client requests should be logged to the timeline. Ifenabled
is provided, the state ofHttpClient.enableTimelineLogging
will 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. Ifenabled
is provided, the profiler state will be updated to reflect the value ofenabled
.