Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

Code around every request

Every request should be logged, timed and protected from crashes. Copying that code into fifty handlers is how bugs are born. Middleware wraps a handler so the work happens once, for every route.