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 List<HttpProfileRequestEvent> events, required DateTime startTime, DateTime? endTime, HttpProfileRequestData? request, HttpProfileResponseData? response, Uint8List? requestBody, Uint8List? responseBody})

Properties

endTime DateTime?
The time at which this request was completed.
finalinherited
events List<HttpProfileRequestEvent>
Events related to this HTTP request.
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?
Details about the request.
finalinherited
requestBody Uint8List?
The body sent as part of this request.
final
response HttpProfileResponseData?
Details about the response.
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 DateTime
The time at which this request was initiated.
finalinherited
uri Uri
The URI to which this HTTP request was sent.
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