talkback icon indicating copy to clipboard operation
talkback copied to clipboard

WebSocket Support

Open rijnhard opened this issue 6 years ago • 3 comments

Any way to use this to record an replay for websocket interactions?

rijnhard avatar Jun 02 '19 11:06 rijnhard

Currently talkback doesn't support websockets.

I'm not sure how it should handle websocket connections, since there's no request/response context that can be used to delimit the different interactions (unless your app's protocol defines one).

What I imagine talkback could do would be to play back all response messages in the order they were received, but I'm not sure that would be very useful.

What did you have in mind?

ijpiantanida avatar Jun 03 '19 03:06 ijpiantanida

Thats pretty much what I had in mind, but to use either the timing or ordering of messages as the key to the responses. If the messages were sent as X and then immediately we received Y and Z then for the test If X sent, then respond with Y then Z for example, because we can tell who sent and received, and there can be an order to the interaction. The only trick (I think) is that it's not 1-1.

On Mon, 3 Jun 2019 at 05:20, Ignacio Piantanida [email protected] wrote:

Currently talkback doesn't support websockets.

I'm not sure how it should handle websocket connections, since there's no request/response context that can be used to delimit the different interactions (unless your app's protocol defines one).

What I imagine talkback could do would be to play back all response messages in the order they were received, but I'm not sure that would be very useful.

What did you have in mind?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/ijpiantanida/talkback/issues/29?email_source=notifications&email_token=ABAXP2B7MCIXQGUX3VCS34LPYSEYNA5CNFSM4HSCM64KYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWYGNDQ#issuecomment-498099854, or mute the thread https://github.com/notifications/unsubscribe-auth/ABAXP2EEYOQLTVT4WFLNU6DPYSEYNANCNFSM4HSCM64A .

rijnhard avatar Jun 03 '19 08:06 rijnhard