venosyd_shelf_addons

Addons to Venosyd Shelf-like servers. These addons are:

- corsMiddleWare for CORS treatment
- jsonHandler, makeResponse, dartsonListToJson to treat data convertion

Usage

A simple usage example:

import 'package:venosyd_shelf_addons/venosyd_shelf_addons.dart';

main() {
  ..
  
  Middleware mw = logRequests();
  Pipeline pl = new Pipeline();
  pl = pl.addMiddleware(corsMiddleWare).addMiddleware(mw);
  
  ...
}

Libraries

venosyd_shelf_addons
@author sergio lisan [...]