addMiddleware method

  1. @override
void addMiddleware(
  1. DartnessMiddleware middleware
)
override

Adds a middleware in order to listen between an http request and the applications running on it.

Implementation

@override
void addMiddleware(final DartnessMiddleware middleware) {
  _pipeline = _pipeline.addMiddleware(middleware);
}