A set helpers to make it easy to use Shelf on App Engine.
The easiest way to run the sample is to run
pub build before you execute
gcloud preview app run app.yaml. If you change the content of the
Directory, you will have to rerun
If you'd like to use
pub serve during development, follow the instructions
here. Note: you will still need to run
pub build before you deploy.
appengine >= 0.3.1.
DirectoryIndexServeMode an enum.
Support the latest version of
Require Dart 1.9 or greater.
DirectoryIndexServeMode.SERVEmode to have no effect.
assetHandler a function.
directoryIndexServeMode named parameter to the
method to enable auto-serving or redirecting to
Allow changing the default index files name to serve with
Formatted the code.
Updated example code to run on the latest configuration.
Add this to your package's pubspec.yaml file:
dependencies: shelf_appengine: ^0.2.3
You can install packages from the command line:
$ pub get
Alternatively, your editor might support
Check the docs for your editor to learn more.
Now in your Dart code, you can use:
|0.2.3||Aug 7, 2015|
|0.2.2+1||Jun 18, 2015|
|0.2.2||Jun 1, 2015|
|0.2.1||Jun 1, 2015|
|0.2.0+1||Feb 26, 2015|
|0.2.0||Feb 25, 2015|
|0.1.1+2||Nov 10, 2014|
|0.1.1+1||Nov 6, 2014|
|0.1.1||Nov 6, 2014|
|0.3.0-alpha||Mar 19, 2017|
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]
The package version is not analyzed, because it does not support Dart 2. Until this is resolved, the package will receive a health and maintenance score of 0.
Support Dart 2 in
The SDK constraint in
pubspec.yaml doesn't allow the Dart 2.0.0 release. For information about upgrading it to be Dart 2 compatible, please see https://www.dartlang.org/dart-2#migration.
|Dart SDK||>=1.9.0 <2.0.0|