via 1.5.0 copy "via: ^1.5.0" to clipboard
via: ^1.5.0 copied to clipboard

A modern, type-safe HTTP client library for Dart/Flutter applications.

example/main.dart

import 'basic.dart' as basic;
import 'cache_debounce.dart' as cache;
import 'cancel.dart' as cancel;
import 'custom_result.dart' as custom;
import 'isolate.dart' as isolate;
import 'logs.dart' as logs;
import 'pipeline.dart' as pipeline;
import 'retry.dart' as retry;

void main() async {
  print('=========================================');
  print('🚀 RUNNING ALL VIA EXAMPLES');
  print('=========================================\n');

  print('1. BASIC REQUESTS');
  await basic.main();
  print('\n-----------------------------------------\n');

  print('2. LOGGING');
  await logs.main();
  print('\n-----------------------------------------\n');

  print('3. RETRY MECHANISM');
  await retry.main();
  print('\n-----------------------------------------\n');

  print('4. PIPELINES');
  await pipeline.main();
  print('\n-----------------------------------------\n');

  print('5. CACHE & DEBOUNCE');
  await cache.main();
  print('\n-----------------------------------------\n');

  print('6. REQUEST CANCELLATION');
  await cancel.main();
  print('\n-----------------------------------------\n');

  print('7. CUSTOM RESULT MODELS');
  await custom.main();
  print('\n-----------------------------------------\n');

  print('8. ISOLATE EXECUTION');
  await isolate.main();
  
  print('\n=========================================');
  print('✅ ALL EXAMPLES COMPLETED SUCCESSFULLY');
  print('=========================================');
}
1
likes
0
points
606
downloads

Publisher

verified publishergece.dev

Weekly Downloads

A modern, type-safe HTTP client library for Dart/Flutter applications.

Repository (GitHub)
View/report issues

Topics

#http #rest #client #json #networking

License

unknown (license)

Dependencies

http

More

Packages that depend on via