hypertext 0.0.0

  • README.md
  • Installing
  • Versions
  • 48


version 0.0.0 build status

Alternative HTTP protocol library for Dart. The main difference here is that the developer gets a lot more freedom than with the dart:io implementation.

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 dart:io ServerSocket class.


This package only exists for the case in which the current dart:io 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.

Also, hypertext is really useful for, say, writing a proxy, because requests and responses can instantly be exported toHttp(). Writing reverse proxies with Dart for me has been cumbersome so far.

Missing Features

  • Cookies
  • WebSockets (although that would likely be another package, which would connect to web_socket_channel)

The following are deliberately left out:

  • Sessions

Features and bugs

Please file feature requests and bugs at the issue tracker.



  • Initial version, created by Stagehand

1. Depend on it

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

  hypertext: "^0.0.0"

2. Install it

You can install packages from the command line:

with pub:

$ pub get

with Flutter:

$ flutter packages get

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

3. Import it

Now in your Dart code, you can use:

import 'package:hypertext/hypertext.dart';
Version Uploaded Documentation Archive
0.0.0 Jan 11, 2017 Go to the documentation of hypertext 0.0.0 Download hypertext 0.0.0 archive
1.0.0-alpha Mar 10, 2017 Go to the documentation of hypertext 1.0.0-alpha Download hypertext 1.0.0-alpha archive


This feature is new.
We welcome feedback.
More details: scoring.

We analyzed this package, and provided a score, details, and suggestions below.

  • completed on Feb 3, 2018
  • Dart: 2.0.0-dev.20.0
  • pana: 0.10.1


Describes how popular the package is relative to other packages. [more]
0 / 100
Code health derived from static analysis. [more]
98 / 100
Reflects how tidy and up-to-date the package is. [more]
93 / 100
Overall score:
Weighted score of the above. [more]


Detected platforms: Flutter, other

Primary library: package:hypertext/hypertext.dart with components: io.


  • 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: main.dart, example.dart or you could also use hypertext.dart.

  • Use analysis_options.yaml.

    Rename old .analysis_options file to analysis_options.yaml.


Package Constraint Resolved Available
Direct dependencies
Dart SDK >=1.19.0
body_parser ^1.0.0-dev 1.0.3
http_parser ^3.0.0 3.1.1
string_scanner ^1.0.0 1.0.2
Transitive dependencies
charcode 1.1.1
collection 1.14.5
http_server 0.9.7
mime 0.9.6
path 1.5.1
source_span 1.4.0
typed_data 1.1.5
Dev dependencies
angel_route ^1.0.0-dev
http ^0.11.0
test ^0.12.0