server_nano_nano 1.0.0 copy "server_nano_nano: ^1.0.0" to clipboard
server_nano_nano: ^1.0.0 copied to clipboard

retracted

A super light http server written in dart.

example/README.md

import 'package:server_nano/server_nano_nano.dart';

void main() {
  final server = Server();

  server.get('/', (req, res) {
    res.sendJson({'Hello': 'World!'});
  });

  server.get('/user/:id', (req, res) async {
    await Future.delayed(Duration(seconds: 2));
    res.send('Hello User ${req.params['id']}!');
  });

  server.listen(port: 3000);
}
0
likes
0
points
43
downloads

Publisher

unverified uploader

Weekly Downloads

A super light http server written in dart.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

collection, mime, path

More

Packages that depend on server_nano_nano