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

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

  app.on((event) => 'xxx', method: 'get', path: '/');
  await app.servers.current.start();

  print('Listening on http://${app.servers.hostname}:${app.servers.port}');
}
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