execute method
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);
}