Unity2017可以使用grpc
(金慶的專欄 2017.8)
gRPC 是 Google 發布的多語言 RPC 庫,見 https://github.com/grpc/grpc。
Unity 2017.1 .Net4.6 支持 async, await, 原來 grpc 在 Unity 上的限制已經消除。
http://www.sohu.com/a/156779221_280780?qq-pf-to=pcqq.group

示例可以運行:https://github.com/ahakits/unity-grpc-sample

示例自帶Server, 也可以運行 grpc 的 hello world server 示例。
輸入 127.0.0.1, 點"Ch" 創建 Channel.
然后輸入一個名字,點 "Send" 即可收到應答并顯示。
(金慶的專欄 2017.8)
gRPC 是 Google 發布的多語言 RPC 庫,見 https://github.com/grpc/grpc。
Unity 2017.1 .Net4.6 支持 async, await, 原來 grpc 在 Unity 上的限制已經消除。
http://www.sohu.com/a/156779221_280780?qq-pf-to=pcqq.group
示例可以運行:https://github.com/ahakits/unity-grpc-sample
示例自帶Server, 也可以運行 grpc 的 hello world server 示例。
輸入 127.0.0.1, 點"Ch" 創建 Channel.
然后輸入一個名字,點 "Send" 即可收到應答并顯示。