prepare method

  1. @override
BaseRequest prepare(
  1. Nyxx client
)
override

Transform this HttpRequest into a BaseRequest to be sent.

The client will be used for authentication if authentication is enabled for this request.

Implementation

@override
BaseRequest prepare(Nyxx client) {
  return Request(method, Uri.https(client.apiOptions.cdnHost, route.path, queryParameters));
}