BasicRequest constructor

BasicRequest(
  1. HttpRoute route,
  2. {String? body,
  3. String method = 'GET',
  4. Map<String, String> queryParameters = const {},
  5. bool applyGlobalRateLimit = true,
  6. String? auditLogReason,
  7. bool authenticated = true,
  8. Map<String, String> headers = const {}}
)

Create a new BasicRequest.

Implementation

BasicRequest(
  super.route, {
  this.body,
  super.method,
  super.queryParameters,
  super.applyGlobalRateLimit,
  super.auditLogReason,
  super.authenticated,
  super.headers,
});