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
$ 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.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|
We analyzed this package on Jun 12, 2018, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
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]
Detected platforms: Flutter, other
Package is too old.
The package was released more than two years ago.
The description is too short.
Add more detail about the package, what it does and what is its target use case. Try to write at least 60 characters.
Package is pre-v1 release.
While there is nothing inherently wrong with versions of
0.*.*, it usually means that the author is still experimenting with the general direction API.
Maintain an example.
Create a short demo in the
example/directory to show how to use this package. Common file name patterns include:
example.dartor you could also use
|Dart SDK||>=1.9.0 <2.0.0|