anonfiles 0.3.0 copy "anonfiles: ^0.3.0" to clipboard
anonfiles: ^0.3.0 copied to clipboard

discontinued

AnonFiles HTTP client based on uno. Support for AnonFiles, FileChan and LetsUpload.

AnonFiles for Dart #

Pub Version Pub Version

This is a library for interacting with AnonFiles related APIs:

Installation #

dependencies:
  anonfiles: ^<latest-version>

Import:

import 'package:anonfiles/anonfiles.dart';

Usage #

The usage is pretty straightforward:

final Uint8List bytes = File('example/sample.txt').readAsBytesSync();
const String filename = 'sample.txt';

// https://anonfiles.com/docs/api
print('[AnonFiles]:');
final AnonFiles anonFiles = AnonFiles();
await for (final AnonFileUploadEvent event
    in anonFiles.upload(bytes: bytes, filename: filename)) {
  print('Event: $event');
}

// https://filechan.org/docs/api
print('[fileChan]:');
final FileChan fileChan = FileChan();
await for (final AnonFileUploadEvent event
    in fileChan.upload(bytes: bytes, filename: filename)) {
  print('Event: $event');
}

// https://letsupload.cc/docs/api
print('[letsUpload]:');
final LetsUpload letsUpload = LetsUpload();
await for (final AnonFileUploadEvent event
    in letsUpload.upload(bytes: bytes, filename: filename)) {
  print('Event: $event');
}

Contributing #

TODO.

0
likes
0
pub points
0%
popularity

Publisher

verified publisheralexrintt.io

AnonFiles HTTP client based on uno. Support for AnonFiles, FileChan and LetsUpload.

Repository (GitHub)
View/report issues

Documentation

Documentation

Funding

Consider supporting this project:

github.com
donate.alexrintt.io

License

unknown (license)

Dependencies

freezed_annotation, json_annotation, uno

More

Packages that depend on anonfiles