alphax 1.1.0 copy "alphax: ^1.1.0" to clipboard
alphax: ^1.1.0 copied to clipboard

Cross-platform HTTP client for Dart and Flutter with an application facade, streaming, retries, caching, protocol control, middleware, and native transport integrations.

example/main.dart

import 'package:alphax/alphax.dart';

import 'custom_transport.dart';

/// Runs a complete pure-Dart request against the supplied transport.
Future<void> main() async {
  final client = AlphaXClient(transport: const ExampleTransport());
  try {
    final response = await client.get(Uri.https('example.com', '/hello'));
    print('${response.statusCode}: ${await response.readAsString()}');
  } finally {
    await client.close();
  }
}
0
likes
160
points
465
downloads

Documentation

API reference

Publisher

verified publisherauvanaventures.com

Weekly Downloads

Cross-platform HTTP client for Dart and Flutter with an application facade, streaming, retries, caching, protocol control, middleware, and native transport integrations.

Repository (GitHub)
View/report issues
Contributing

Topics

#http #networking #middleware #streaming #websocket

License

Apache-2.0 (license)

More

Packages that depend on alphax