Use Apache Thrift NodeJS Client over HTTP

百般思念 提交于 2019-12-10 11:43:41

问题


Is there any clean way to connect a NodeJS Apache Thrift client to a Thrift Servlet over HTTP? I've tried implementing this by replacing the Connection with an http.ClientRequest object, then binding to the connect event on the underlying socket and re-emitting this from the client request object so that Thrift will send the queued bytes, but this ultimately results in parsing errors.

Is there any clean way to use HTTP for a NodeJS Thrift client right now?

来源:https://stackoverflow.com/questions/21764864/use-apache-thrift-nodejs-client-over-http

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!