Allow the null safe convert and http_parser (#43)

Expand the upper bounds of the constraints to allow the breaking change
for the null safety migration. Tested locally with overrides to force
picking up the latest prerelease versions.
2 files changed
tree: e637f3284087b56e7183268bfebaf49102470764
  1. example/
  2. lib/
  3. test/
  4. .gitignore
  5. .travis.yml
  6. analysis_options.yaml
  7. CHANGELOG.md
  8. CONTRIBUTING.md
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

shelf_static is a Handler for the Dart shelf package.

Build Status

Example

import 'package:shelf/shelf_io.dart' as io;
import 'package:shelf_static/shelf_static.dart';

void main() {
  var handler = createStaticHandler('example/files', 
      defaultDocument: 'index.html');

  io.serve(handler, 'localhost', 8080);
}