cancelable_http_client 1.1.6 copy "cancelable_http_client: ^1.1.6" to clipboard
cancelable_http_client: ^1.1.6 copied to clipboard

A cancelable HTTP client is a wrapper over `http.Client` that allows to cancel a request or the operation of receiving data from the response or sending data via request.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add cancelable_http_client

With Flutter:

 $ flutter pub add cancelable_http_client

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  cancelable_http_client: ^1.1.6

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:cancelable_http_client/cancelable_http_client.dart';
0
likes
160
points
370
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A cancelable HTTP client is a wrapper over `http.Client` that allows to cancel a request or the operation of receiving data from the response or sending data via request.

Repository (GitHub)
View/report issues

Topics

#cancellation #http #http-client #network #streams

License

BSD-3-Clause (license)

Dependencies

http, multitasking

More

Packages that depend on cancelable_http_client