spry 3.0.0-dev.2 copy "spry: ^3.0.0-dev.2" to clipboard
spry: ^3.0.0-dev.2 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';

void main(List<String> args) async {
  final app = Spry(arguments: args);

  app.on((event) => 'Hello, World!', method: 'get', path: '/');
  app.on((event) => 'Hello, ${event.parameters.get('name')}!',
      method: 'post', path: '/:name');

  await app.startup();
}
10
likes
0
pub points
54%
popularity

Publisher

verified publisherodroe.dev

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

Homepage
Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

consolekit, crypto, dotenv, logging, meta, path, routingkit, webfetch

More

Packages that depend on spry