Louis
Explore posts from serversWebsocket server implementations with TRPC createWSClient
Is anyone aware of a websocket server that is compatible with trpc websocket client that isn't using the subscriptions example with applyWSSHandler function?
I'm planning to implement a WSS server in Go to be compatible with createWSClient as I've been struggling to implement the full websocket nextjs example on github with the recent changes made to T3 app with regards to createTRPCContext, next headers, next auth providers functions not being defined etc.
If people are aware of server implementations it could save me some time implementing my own.
2 replies
TTCTheo's Typesafe Cult
•Created by Louis on 11/28/2023 in #questions
T3 App Router and tRPC Subscriptions - Help/Advice Needed!
Has anyone implemented tRPC subscriptions with the app router?
When i try to follow https://github.com/trpc/examples-next-prisma-websockets-starter with t3 app router, using createTRPCContext in the websocket server i get the following error: TypeError: DiscordProvider is not a function
Any help would be appreciated!
4 replies