server

Last updated:

0 purchases

server Image
server Images
Add to Cart

Description:

server

Server #
web framework for Dart
It has simple API
import 'package:server/server.dart';

void main() {
server(port: 8888).then((Server app) {

app.get('/hello/:name.:lastname?').listen((request) {
request.response
.header('Content-Type', 'text/html; charset=UTF-8')
.send('Hello, ${request.param('name')} ${request.param('lastname')}');
});

});
}
copied to clipboard

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.