Alternative HTTP protocol library for Dart. The main difference here
is that the developer gets a lot more freedom than with the
HTTP/2 support will come in the future.
Much of this library will work cross-platform, save for the
Server class, as
it depends on the
This package only exists for the case in which the current
HTTP server API's are removed, say in Dart 2.0.0.
I doubt this will ever happen, but if it does, frameworks like Angel, won't suddenly explode.
hypertext is really useful for, say, writing a proxy,
because requests and responses can instantly be exported
Writing reverse proxies with Dart for me has been cumbersome so far.
The following are deliberately left out:
Please file feature requests and bugs at the issue tracker.
Add this to your package's pubspec.yaml file:
dependencies: hypertext: ^0.0.0
You can install packages from the command line:
$ pub get
$ flutter packages get
Alternatively, your editor might support
pub get or
flutter packages get.
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.0.0||Jan 11, 2017|
|1.0.0-alpha||Mar 10, 2017|
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]
We analyzed this package on Aug 11, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
lib/src/http/server.dart failed with 6 errors, 1 hint, including:
line 28 col 23: Default values of an optional parameter must be constant.
line 28 col 23: Undefined name 'UTF8'.
line 32 col 27: Default values of an optional parameter must be constant.
line 32 col 27: Undefined name 'UTF8'.
line 41 col 31: Default values of an optional parameter must be constant.
lib/src/http/parser.dart failed with 3 errors:
line 13 col 7: Missing concrete implementation of 'StreamTransformer.cast'.
line 17 col 26: Default values of an optional parameter must be constant.
line 17 col 26: Undefined name 'UTF8'.
Package is getting outdated.
The package was released 82 weeks ago.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction of the API.
Maintain an example.
None of the files in your
example/ directory matches a known example patterns. Common file name patterns include:
example.dart or you could also use
.analysis_options file to
Fix additional 4 files with analysis or formatting issues.
Additional issues in the following files: