HttpProfileResponseData class
Information received in response to an initial HTTP request.
Constructors
-
HttpProfileResponseData({DateTime? startTime, DateTime? endTime, Map<
String, dynamic> ? headers, String? compressionState, Map<String, dynamic> ? connectionInfo, int? contentLength, List<String> ? cookies, bool? isRedirect, bool? persistentConnection, String? reasonPhrase, required List<Map< redirects, int? statusCode, String? error})String, dynamic> >
Properties
- compressionState → String?
-
The compression state of the response.
final
-
connectionInfo
→ Map<
String, dynamic> ? -
Information about the client connection.
final
- contentLength → int?
-
The content length of the response body, in bytes.
final
-
Cookies set by the server (from the 'set-cookie' header).
final
- endTime → DateTime?
-
The time at which the response was completed.
final
- error → String?
-
The error associated with the failed response.
final
- hasError → bool
-
no setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
headers
→ Map<
String, dynamic> ? -
The client response headers.
final
- isComplete → bool
-
no setter
- isRedirect → bool?
-
Whether the status code is one of the normal redirect codes.
final
- persistentConnection → bool?
-
The persistent connection state returned by the server.
final
- reasonPhrase → String?
-
The reason phrase associated with the status code.
final
-
redirects
→ List<
Map< String, dynamic> > -
The series of redirects this connection has been through.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- startTime → DateTime?
-
The time at which the initial response was received.
final
- statusCode → int?
-
The status code.
final
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) → HttpProfileResponseData?