-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[3.0]Add gRPC extensibility #5013
Conversation
这个等我再完善一下异常处理 |
get/post ??官方的BaseStub没看到有这个🤣 |
hyperf 的路由是支持的,我晚点再验证一下,查一下文档 |
hyperf路由支持也得兼容官方GRPC吧 |
这一块我还要确认验证一下,如果只支持 POST 的话,hyperf gRPC 路由那里最好要限制一下,以免产生歧义 |
如果gRPC 官方只支持 POST 的话只调用 POST 即可。如果 Hyperf Server 定义了 GET 使用 POST 调用将会找不到方法 |
等我确认一下吧,如果只支持 POST 的话建议 Server 和 Client 都进行限制 |
https://chromium.googlesource.com/external/github.com/grpc/grpc/+/HEAD/doc/PROTOCOL-HTTP2.md |
无意间看到这个,使用 http 调用 gRPC,备注一下 与本 PR 无关 |
Hyperf Server 使用 Router::grpc 定义方法如何,其他的方法忽略 只能通过 这个方法定义 grpc 服务 |
我也比较倾向于这种做法 |
rebase到master |
#5047 用这个吧,基于 master 分支的 |
No description provided.