Update README.md

This commit is contained in:
qicosmos
2020-08-07 21:23:19 +08:00
committed by GitHub
parent dc105f402b
commit bb659918f5
+5 -5
View File
@@ -138,12 +138,12 @@ else if (status == std::future_status::ready) {
}
```
除了上面的这些很棒的接口之外,更酷的是rest_rpc还支持了服务端推送的功能,这是目前很多rpc库做不到的。
除了上面的这些很棒的接口之外,更酷的是rest_rpc还支持了订阅发布的功能,这是目前很多rpc库做不到的。
服务端定时推送的例子在这里:
服务端订阅发布的例子在这里:
https://github.com/qicosmos/rest_rpc/blob/master/examples/server/main.cpp#L88
https://github.com/qicosmos/rest_rpc/blob/master/examples/client/main.cpp#L372
https://github.com/qicosmos/rest_rpc/blob/master/examples/server/main.cpp#L121
https://github.com/qicosmos/rest_rpc/blob/master/examples/client/main.cpp#L383
## 快
@@ -162,4 +162,4 @@ https://github.com/qicosmos/rest_rpc/tree/master/examples
# future
make an IDL tool to genrate the client code.
make an IDL tool to genrate the client code.