handle method

Handler handle(
  1. Handler handler
)

Chains the current middleware with a handler function and returns a new middleware handler that applies the current middleware followed by the given handler.

This method allows you to create a new middleware handler that combines the behavior of the current middleware and the specified handler.

Implementation

Handler handle(Handler handler) {
  return this(handler);
}