You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
This package doesn't support tRPC subscriptions (websockets), for example when the client looks like:
Unfortunately, the client/test will time out because the http request never gets upgraded to websocket.
Describe the solution you'd like
Handle the initial http request for upgrading from http to WebSocket. The request has headers:
Then, the package might also get another cool feature: to control when messages/event on the tRPC subscription (websocket) are sent to the client in the test.
The text was updated successfully, but these errors were encountered:
ben-xD
changed the title
Support WebSockets
Support tRPC subscriptions (WebSockets)
Jun 8, 2023
Is your feature request related to a problem? Please describe.
This package doesn't support tRPC subscriptions (websockets), for example when the client looks like:
Unfortunately, the client/test will time out because the http request never gets upgraded to websocket.
Describe the solution you'd like
Handle the initial http request for upgrading from http to WebSocket. The request has headers:
Then, the package might also get another cool feature: to control when messages/event on the tRPC subscription (websocket) are sent to the client in the test.
The text was updated successfully, but these errors were encountered: