HttpProfileRequestData class Null safety

Information sent as part of the initial HTTP request.

Constructors

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

Properties

connectionInfo Map<String, dynamic>?
Information about the client connection.
read-only
contentLength int
The content length of the request, in bytes. [...]
read-only
cookies List<String>
Cookies presented to the server (in the 'cookie' header). [...]
read-only
error String?
The error associated with the failed request.
final
events List<HttpProfileRequestEvent>
Events that has occurred while issuing this HTTP request.
final
followRedirects bool
Whether redirects are followed automatically. [...]
read-only
hasError bool
Returns true if an error has occurred while issuing the request. [...]
read-only
hashCode int
The hash code for this object. [...]
read-only, inherited
headers Map<String, dynamic>
Returns the client request headers. [...]
read-only
maxRedirects int
The maximum number of redirects to follow when followRedirects is true. [...]
read-only
method String
The method of the request. [...]
read-only
persistentConnection bool
The requested persistent connection state. [...]
read-only
proxyDetails HttpProfileProxyData?
Proxy authentication details for this request.
final
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

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) HttpProfileRequestData?