0

如何在 .Net Core 3.1 中将 Ocelot Gateway 用于 gRPC 服务?

Ocelot 不支持 gRPC 还是有什么方法可以集成它?希望能帮到你,谢谢!

4

1 回答 1

0

目前 Ocelot 不提供开箱即用的此功能,但您可以在此处找到一些解决方法:

  1. https://github.com/BuiltCloud/Ocelot.GrpcHttpGateway

  2. https://github.com/thangchung/GrpcJsonTranscoder

就个人而言,我没有使用过它们中的任何一个,但值得一试。

于 2020-06-26T05:50:50.370 回答