netto 0.1.2 copy "netto: ^0.1.2" to clipboard
netto: ^0.1.2 copied to clipboard

A minimal, flexible, composable, and neat web framework for Dart.

example/netto_example.dart

import "dart:io";

import "package:netto/netto.dart";

Future<void> main() async {
  final app = Netto()
    ..use(logger())
    ..get("/", (Ctx ctx) => ctx.response.string("Hello World!"));

  await app.serve(InternetAddress.loopbackIPv4, 8080);
}
3
likes
160
points
135
downloads

Publisher

verified publishernamzug.dev

Weekly Downloads

A minimal, flexible, composable, and neat web framework for Dart.

Repository (GitHub)
View/report issues

Topics

#server #backend #http #netto

Documentation

API reference

License

MIT (license)

Dependencies

collection, http, http_parser, logging, lru, meta, mime

More

Packages that depend on netto