HttpProfileRequest class

Profiling information for a single HTTP request, including request and response body data.

Inheritance

Constructors

HttpProfileRequest({required String id, required String isolateId, required String method, required Uri uri, required int startTime, required Uint8List? requestBody, required Uint8List? responseBody, int? endTime, HttpProfileRequestData? request, HttpProfileResponseData? response})

Properties

endTime int?
The time at which this request was completed, in microseconds.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
id String
The ID associated with this request.
finalinherited
isolateId String
finalinherited
isRequestComplete bool
Returns true if the initial HTTP request has completed.
no setterinherited
isResponseComplete bool
Returns true if the entirety of the response has been received.
no setterinherited
method String
The HTTP request method associated with this request.
finalinherited
request HttpProfileRequestData?
Information sent as part of the initial HTTP request.
finalinherited
requestBody Uint8List?
The body sent as part of this request.
final
response HttpProfileResponseData?
Information received in response to the initial HTTP request.
finalinherited
responseBody Uint8List?
The body received in response to the request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startTime int
The time at which this request was initiated, in microseconds.
finalinherited
uri Uri
The URI for this HTTP request.
finalinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited

Static Methods

parse(Map<String, dynamic>? json) HttpProfileRequest?
override