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|
We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter, other
Fix analysis and formatting issues.
Analysis or formatting checks reported 1 error 8 hints.
Strong-mode analysis of
lib/src/http/parser.dartfailed with the following error:
line: 13 col: 7
Missing concrete implementations of 'StreamTransformer.cast' and 'StreamTransformer.retype'.
Similar analysis of the following files failed:
Package is getting outdated.
The package was released 73 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 API.
Maintain an example.
None of the files in your
example/directory matches a known example patterns. Common file name patterns include:
example.dartor you could also use