News

Export a socket handler function from a Next.js API route. The first argument will be the WebSocket client instance and the second argument will be the original request object. This plugin works by ...