HttpProfileRequest class Null safety
Profiling information for a single HTTP request, including request and response body data.
- Inheritance
-
- Object
- HttpProfileRequestRef
- HttpProfileRequest
Constructors
- HttpProfileRequest({required int 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.
read-onlyinherited
- id → int
-
The ID associated with this request.
finalinherited
- isolateId → String
-
finalinherited
- isRequestComplete → bool
-
Returns
true
if the initial HTTP request has completed.read-onlyinherited - isResponseComplete → bool
-
Returns
true
if the entirety of the response has been received.read-onlyinherited - 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.
read-onlyinherited
- 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 non-existent 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