use abstract method

void use(
  1. Middleware middleware
)

Add a Middleware to the router.

Implementation

void use(Middleware middleware);