get method

dynamic get(
  1. String path,
  2. Function? requestHandler, {
  3. Function? errorFunction,
  4. ResponseProcessor? responseProcessor,
})

Implementation

get(String path,Function? requestHandler,{Function? errorFunction,ResponseProcessor? responseProcessor}){
  jaguarMux.Route route = jaguarMux.Route.get(path, (context) async {
    context=await _handleImplementor(context,path,requestHandler,errorFunction: errorFunction,responseProcessor: responseProcessor);
  }, responseProcessor: responseProcessor,before:[cors(corsOptions)] );
  routes.add(route);
}