HttpRequest constructor
Create a new HttpRequest.
This class is a wrapper around the BaseRequest class from package:http
, providing rate
limit, audit log and authentication support.
Implementation
HttpRequest(
this.route, {
this.method = 'GET',
this.queryParameters = const {},
this.headers = const {},
this.auditLogReason,
this.authenticated = true,
this.applyGlobalRateLimit = true,
});