HandlerExtension extension

An extension on the Handler class that provides additional functionality.

on

Methods

use(Middleware middleware) Handler

Available on Handler, provided by the HandlerExtension extension

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