okhttp_kit 1.0.2

  • Readme
  • Changelog
  • Installing
  • 78

okhttp_kit #

Build Status GitHub Tag Pub Package License


Usage #


import 'package:okhttp_kit/okhttp_kit.dart';

Features and bugs #

Please file feature requests and bugs at the issue tracker.

1.0.2 #

  • 修正 MultipartBody

1.0.1 #

  • 优化

1.0.0 #

  • 更名 okhttp_kit

0.2.1 #

  • 优化

0.2.0 #

  • 简化依赖

0.1.4 #

  • 优化

0.1.3 #

  • 优化

0.1.2 #

  • curl add headerFilter

0.1.1 #

  • bugfix
  • curl

0.1.0 #

  • dart - okhttp 3.10.0

Use this package as a library

1. Depend on it

Add this to your package's pubspec.yaml file:

  okhttp_kit: ^1.0.2

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter pub get

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

3. Import it

Now in your Dart code, you can use:

import 'package:okhttp_kit/okhttp_kit.dart';
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
Learn more about scoring.

We analyzed this package on Mar 30, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:

  • Dart: 2.7.1
  • pana: 0.13.6

Health issues and suggestions

Document public APIs. (-0.30 points)

446 out of 457 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.

Fix lib/okhttp3/form_body.dart. (-1 points)

Analysis of lib/okhttp3/form_body.dart reported 2 hints:

line 17 col 18: The value of the field '_encoding' isn't used.

line 19 col 22: The value of the field '_namesAndValues' isn't used.

Maintenance suggestions

The package description is too short. (-19 points)

Add more detail to the description field of pubspec.yaml. Use 60 to 180 characters to describe the package, what it does, and its target use case.

Maintain an example.

None of the files in the package's example/ directory matches known example patterns.

Common filename patterns include main.dart, example.dart, and okhttp_kit.dart. Packages with multiple examples should provide example/README.md.

For more information see the pub package layout conventions.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=2.3.0 <3.0.0
charcode ^1.1.2 1.1.3
convert ^2.1.1 2.1.1
crypto ^2.0.6 2.1.4
fixnum ^0.10.9 0.10.11
path ^1.6.2 1.6.4
Transitive dependencies
collection 1.14.12
typed_data 1.1.6
Dev dependencies
pedantic any
test ^1.0.0