execute method

  1. @override
Future<void> execute()

Implementation

@override
Future<void> execute() async {
  final api = resolve<T>();
  final client = await RestClient.connect(
    Uri(
      scheme: 'http',
      host: InternetAddress.loopbackIPv4.host,
      port: api.port,
      path: api.basePath,
    ),
  );
  await delegate(client);
}