http_server 1.0.0 copy "http_server: ^1.0.0" to clipboard
http_server: ^1.0.0 copied to clipboard

discontinuedreplaced by: shelf

Library of HTTP server classes.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add http_server

With Flutter:

 $ flutter pub add http_server

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  http_server: ^1.0.0

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

Import it

Now in your Dart code, you can use:

import 'package:http_server/http_server.dart';
32
likes
110
points
3.66k
downloads

Publisher

verified publisherlabs.dart.dev

Weekly Downloads

Library of HTTP server classes.

Repository
Contributing

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

mime, path

More

Packages that depend on http_server