hypertext 0.0.0 copy "hypertext: ^0.0.0" to clipboard
hypertext: ^0.0.0 copied to clipboard

Alternative HTTP protocol library for Dart.

hypertext #

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.

Why? #

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.

0
likes
25
pub points
0%
popularity

Publisher

unverified uploader

Alternative HTTP protocol library for Dart.

Repository (GitHub)
View/report issues

License

MIT (LICENSE)

Dependencies

body_parser, http_parser, string_scanner

More

Packages that depend on hypertext