HTTPRequest class

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 WebACL 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 two values for each header in the sampled web request: the name of the header and the value of the header.
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. CloudFront supports the following methods: DELETE, GET, HEAD, OPTIONS, PATCH, POST, and PUT.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
uri String?
The part of a web request that 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