tora
npm install tora-protocol
yarn add tora-protocol
This class isn't very user friendly, because it is as close as possible from the Haxe source.
You have to override class functions onData
and onError
(and other if needed).
See https://github.com/HaxeFoundation/tora/
TODO: Use events.