Closed Bios-Marcel closed 1 year ago
Gorilla/websocket supports prepared messagse. Meaning the frames are generated and compressed once and are then reused. (https://github.com/gorilla/websocket/blob/main/prepared.go#L19)
This is particularly useful if you want to send the same payload to multiple connections. If you are open to this, I could also try implementing it.
Supported. Check out Broadcaster.
Oh, cool, didn't see. Thanks 🙏
Gorilla/websocket supports prepared messagse. Meaning the frames are generated and compressed once and are then reused. (https://github.com/gorilla/websocket/blob/main/prepared.go#L19)
This is particularly useful if you want to send the same payload to multiple connections. If you are open to this, I could also try implementing it.