persist_http 0.0.1-beta
persist_http: ^0.0.1-beta copied to clipboard
This library provides an efficient way to handle HTTP requests by reusing the same HTTP handshake. It's designed for Dart environments and supports all platforms except Flutter Web due to the use of dart:io.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add persist_httpThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
persist_http: ^0.0.1-betaAlternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:persist_http/persist_http.dart';