Spry is an HTTP middleware framework for the Dart language that makes writing web applications and API servers more enjoyable.

import ‘package:spry/spry.dart’;

main() {
final Spry spray = Spry();

handler(Context context) {
context.response.text(‘Hello Spry!’);
}

spry. listen(port: 3000, handler);
}

philosophy

Spry is a framework for building web applications and APIs. It is designed to be minimal and flexible.

Performance

Spry is a minimal and flexible Dart web framework. Just creating an HttpServer listen handler does not duplicate and create new requests/responses.

routing rules

Spry uses path expression syntax to define routes. This is a very flexible and powerful way of defining routes.

middleware

You can easily add pre or post handlers to your routes or handlers by practicing well-known middleware methods in many languages

#Spry #Homepage #Documentation #Downloads #HTTP #Middleware #Framework #News Fast Delivery

Leave a Comment

Your email address will not be published. Required fields are marked *