16

如何把 http 请求转成对应的 rpc 请求。

 2 years ago
source link: https://www.v2ex.com/t/789425
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

V2EX  ›  程序员

如何把 http 请求转成对应的 rpc 请求。

  hejw19970413 · 6 小时 27 分钟前 · 1148 次点击
  1. 所有的对外接口都是用 pd 来定义的,能不能在网关这一层做协议的转换
  2. 如果可以做转换,那么是手写还是程序自动转换还是说只能生成模版文件降低人工

想了几种办法,还是思路不是很清晰,各位大佬给个思路呗。。。


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK