Spry is an HTTP middleware framework for Dart to make web applications and APIs more enjoyable to write.
import 'package:spry/spry.dart';
main() {
final Spry spry = Spry();
handler(Context context) {
context.response.send('Hello Spry!');
}
spry.listen(port: 3000, handler);
}
Spry is a framework for building web applications and APIs. It is designed to be minimal and flexible.
See CONTRIBUTING.md for more information.
Package | Version | Description |
---|---|---|
spry | Spry is an HTTP middleware framework for Dart to make web applications and APIs more enjoyable to write. | |
spry_router | A request router for the Spry web framework that supports matching handlers from path expressions. | |
spry_session | A session extension for the Spry web framework that supports cookie-based and memory-based sessions. | |
spry_json | Spry JSON middleware and request/response extension, used to convert request body to JSON object or set response body to JSON object. | |
spry_interceptor | Exception interceptor for Spry, which intercepts exceptions and errors and writes response to prevent unexpected application interruption. | |
spry_static | A static file server for the Spry web framework that supports serving static files from a directory. |
Spry is licensed under the MIT License. See LICENSE for more information.