Hi all, I've been examining using the javascript (_not_ node.js) version of generated code, in order to interface with a binary protocol server (over HTTP).
>From my initial view of the standard generated client code for javascript, there is json serialization/deserialization built in, which won't work (and so I verify in Thrift docs). So officially I saw that there is no javascript + HTTP + binary combination that is supported. I started implementing such a thing myself, with https://developer.mozilla.org/en/JavaScript_typed_arrays/DataView as the base buffer. Around half an hour into that, I felt that it is a time consuming, and possibly an error prone process. So before investing more time into it I felt I better verify that what I want to do will even work. So my questions - why isn't there such a javascript implementation supporting binary over HTTP? is there some kind of technical show stopper to it? (encoding is not a problem once i set it as user-specified, then my bytes should arrive as-is and not mangled) - is there anything like it in the open that I can reuse (instead of reinvent) - coming from not knowing thrift codebase at all, is there anything to ease the process of building one from scratch? Thanks!