jaguar 2.0.1 copy "jaguar: ^2.0.1" to clipboard
jaguar: ^2.0.1 copied to clipboard

outdated

Jaguar is a production ready HTTP server framework built for speed, simplicity and extensiblity

example/example.dart

import 'package:jaguar/jaguar.dart';

main() async {
  final server = new Jaguar(port: 10000);
  server
    ..get('/', (ctx) => 'Get')
    ..post('/', (ctx) => 'Post')
    ..getJson('/json', (ctx) => {'method': 'get'})
    ..postJson('/json', (ctx) => {'method': 'post'});
  await server.serve();
}
58
likes
0
pub points
88%
popularity

Publisher

unverified uploader

Jaguar is a production ready HTTP server framework built for speed, simplicity and extensiblity

Homepage

License

unknown (LICENSE)

Dependencies

args, collection, crypto, http_server, logging, meta, mime, path, stack_trace, yaml

More

Packages that depend on jaguar