How to use trpc inside next.js middleware

What is the best way to use trpc inside next.js middleware
Was this page helpful?