2011-10-26 13:01

在App Engine中使用rpc / jsonrpc


I'm confused reading "rpc" and "rpc/jsonrpc" code and docs. We won't listen to a port to serve RPC requests on App Engine, I mean, we won't "start a server", so how it should work?

  • 点赞
  • 写回答
  • 关注问题
  • 收藏
  • 复制链接分享
  • 邀请回答


  • dongxin0031 dongxin0031 10年前

    Answered by Brad Fitzpatrick on google-appengine-go mailing list:

    Basically, you can't. That's only the first problem you'll hit. The second major problem you'll find is that you can't get at the *http.Request to get an appengine.Context to do anything useful with App Engine in your RPC handler.

    点赞 评论 复制链接分享