-
Notifications
You must be signed in to change notification settings - Fork 0
Home
Jackson Mooring edited this page Dec 30, 2020
·
1 revision
A tiny lightning fast server-side framework for dart.
import 'package:responder/responder.dart';
var app = new Responder();
app.get('/a{dynamic}/route', (req, res) {
res.headers({
"Content-type": "application/json",
"x-foo": "bar",
})
res.send("Hello, World! ${req.params.dynamic}")
});
app.listen(3000, (port) => print("listening on $address"));