rollmint icon indicating copy to clipboard operation
rollmint copied to clipboard

WebSockets: improve handling of different message types

Open tzdybal opened this issue 2 years ago • 0 comments

This looks kinda insufficient: https://github.com/celestiaorg/optimint/blob/bfa0fa48319cefbc4c63c25e4655e862e5d3daa5/rpc/json/ws.go#L70-L73

Different message types should be handled properly. Possible message types are defined in RFC 6455, section 11.8.

tzdybal avatar Jul 04 '22 20:07 tzdybal