tRPCttRPC
Powered by
sevenS
tRPC•11mo ago•
7 replies
seven

can i send data from client to server in subscriptions

Hi, as in the topic, is it possible to do bidirectional websockets transmission, i am trying to build a chat and cannot figure out how to send messages from my nextjs frontend using wsLink to trpc standalone backend (not in nextjs api routes). Many thanks
tRPCJoin
Move Fast & Break Nothing. End-to-end typesafe APIs made easy.
5,015Members
Resources
Recent Announcements

Similar Threads

Was this page helpful?

Similar Threads

Can I respond to client from a middleware?
venegoVvenego / ❓-help
16mo ago
how can i send a request to specific route in trpc server, after mutation ?
kumard3Kkumard3 / ❓-help
3y ago
Preventing uncaught error propagation from server to client
OoijazOOoijaz / ❓-help
2y ago
multiple subscriptions in client side causing latency and failing to reload/redirect
jaacsenJjaacsen / ❓-help
2y ago