A set of high-level classes that, together with
HttpServer, makes is easier to serve web content.
NOTE: This package only works for server-side or command-line Dart
applications. In other words, if the app imports
dart:io, it can use this
Please file feature requests and bugs at the issue tracker.
Updates to support Dart 2.0 core library changes (wave 2.2). See issue 31847 for details.
Add this to your package's pubspec.yaml file:
dependencies: http_server: ^0.9.8+1
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.9.8+1||Nov 5, 2018|
|0.9.8||Jul 11, 2018|
|0.9.7||Feb 2, 2018|
|0.9.6||Aug 18, 2016|
|0.9.5+1||Nov 24, 2014|
|0.9.5||Nov 19, 2014|
|0.9.4||Nov 17, 2014|
|0.9.3||Jul 30, 2014|
|0.9.2+3||Jul 24, 2014|
|0.9.2+2||Jul 4, 2014|
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 Feb 14, 2019, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
Detected platforms: Flutter, other
The package description is too short. (-20 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. (-10 points)
Create a short demo in the
example/ directory to show how to use this package.
Common filename patterns include
http_server.dart. Packages with multiple examples should provide
For more information see the pub package layout conventions.