Repository navigation
Websocket: one connection, multiple payloads #5911
Unanswered
lukepighetti
asked this question in
Ideas
Replies: 1 comment 1 reply
|
I'm currently in the process of trying to switch over from Postman to Insomnia for a project, and this is going to be a blocker for me. I have a single WebSocket connection and I need to be able to send multiple messages through it |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I have noticed that very few WebSocket server implementations expect someone to open one websocket connection for every type of message they want to send.
Instead, what is more popular, is opening a single WebSocket connection and then dispatching multiple different events to interact with a service.
This is currently hard to do in Insomnia.
What would be interesting to me, is having a folder-like WebSocket, which can contain multiple different payloads which can be run under it. The connection indicator would be on the top level WebSocket, not on the individual payloads
All reactions