mwinel
Running Websockets/Subscriptions with Fetch / Edge Runtimes Adapter
Hi, has anyone been able to use trpc websockets/subscriptions? I am having challenges setting up the ws server using Fetch / Edge Runtimes Adapter and running it either in dev or production mode. Tried to follow the docs but it does not highlight this bit.
I am using Node 20> and pnpm.
Here is my route handler
Here is my sample router module
And finally here is my base module
16 replies