Thrift transport in javascript client

前端 未结 4 1809
盖世英雄少女心
盖世英雄少女心 2021-02-14 15:14

I\'m trying to build a javascript client for my Thrift server. The server is up and running and I can get calls to the server working with a PHP client. I just can\'t figure out

4条回答
  •  长情又很酷
    2021-02-14 15:42

    To use a Javascript client you need a HTTP Thrift server (e.g. the one pointed out by yiding). You also need to use TJSONProtocol.

    The files how to make a Thrift Java server work with an Thrift Javascript client are scattered throughout the source. I puzzled them together here: https://github.com/LukeOwncloud/ThriftJavaJavascriptDemo

提交回复
热议问题