Could someone explain how to add a middleware class in a padrino application. The middleware class should enable trace point before processing an API request and disable the trace point after processing the API and serve the response to client.
Thanks in advance
Mirza