Open oberstet opened 4 years ago
one way (A.) we could do that would be:
To read the *.bfbs binary schema files in Python, the flatbuffers package can be used, which contains bindings for the FlatBuffers reflection schema https://github.com/google/flatbuffers/blob/master/reflection/reflection.fbs
alternative approaches would be:
B. reuse AutobahnJS completely (as a full dependency) C. write a set of WAMP message parsing classes from scratch
note: I think the current code in ABJS for parsing WAMP (eg https://github.com/crossbario/autobahn-js/blob/master/packages/autobahn/lib/session.js#L445) is not really suited to be used from outside the library (it wasn't designed to provide that)
just wanted to leave a link here .. there now is support for WAMP in Firefox 74: https://github.com/wamp-proto/wamp-proto/issues/362 .. relevant discussion is there