HTTPRequest class

Part of the response from GetSampledRequests. This is a complex type that appears as Request in the response syntax. HTTPRequest contains information about one of the web requests.

Constructors

HTTPRequest({String? clientIP, String? country, String? hTTPVersion, List<HTTPHeader>? headers, String? method, String? uri})
HTTPRequest.fromJson(Map<String, dynamic> json)
factory

Properties

clientIP String?
The IP address that the request originated from. If the web ACL is associated with a CloudFront distribution, this is the value of one of the following fields in CloudFront access logs:
final
country String?
The two-letter country code for the country that the request originated from. For a current list of country codes, see the Wikipedia entry ISO 3166-1 alpha-2.
final
hashCode int
The hash code for this object.
no setterinherited
headers List<HTTPHeader>?
A complex type that contains the name and value for each header in the sampled web request.
final
hTTPVersion String?
The HTTP version specified in the sampled web request, for example, HTTP/1.1.
final
method String?
The HTTP method specified in the sampled web request.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The URI path of the request, which identifies the resource, for example, /images/daily-ad.jpg.
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