HttpProfileRequestData class

Information sent as part of the initial HTTP request.


HttpProfileRequestData.buildErrorRequest({required String? error})
HttpProfileRequestData.buildSuccessfulRequest({Map<String, dynamic>? headers, Map<String, dynamic>? connectionInfo, int? contentLength, required List<String> cookies, bool? followRedirects, int? maxRedirects, bool? persistentConnection, HttpProfileProxyData? proxyDetails})


connectionInfo Map<String, dynamic>?
Information about the client connection.
no setter
contentLength int?
The content length of the request, in bytes.
no setter
cookies List<String>?
Cookies presented to the server (in the 'cookie' header).
no setter
error String?
The error associated with the failed request.
followRedirects bool?
Whether automatic redirect following was enabled for the request.
no setter
hasError bool
Returns true if an error has occurred while issuing the request.
no setter
hashCode int
The hash code for this object.
no setterinherited
headers Map<String, dynamic>?
The client request headers.
no setter
maxRedirects int?
The maximum number of redirects allowed during the request.
no setter
persistentConnection bool?
The requested persistent connection state.
no setter
proxyDetails HttpProfileProxyData?
Proxy authentication details for this request.
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited


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


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

Static Methods

parse(Map<String, dynamic>? json) HttpProfileRequestData?