spry 3.3.1 copy "spry: ^3.3.1" to clipboard
spry: ^3.3.1 copied to clipboard

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

example/main.dart

import 'package:spry/spry.dart';

final app = Application.late();

void main(List<String> args) async {
  app.get('hello', (request) => 'Hello, Spry!');
  app.get('test', (request) {
    return request.fetch('/hello');
  });

  await app.run(port: 3000);

  print('Listening on http://localhost:3000');
}
10
likes
150
points
295
downloads

Publisher

verified publisherodroe.dev

Weekly Downloads

Spry is an HTTP middleware framework for Dart to make web applications and APIs server more enjoyable to write.

Homepage
Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

logging, path, routingkit, webfetch

More

Packages that depend on spry