process method

Future<void> process(
  1. Request request,
  2. ResponseContract response
)

Processes the request through the middleware pipeline.

Implementation

Future<void> process(Request request, ResponseContract response) async {
  await execute(
    _middleware,
    request,
    response,
    (req, res) async {}, // No-op final handler
  );
}