Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qicosmos authored Aug 7, 2020
1 parent dc105f4 commit bb65991
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

##

Expand All @@ -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.

0 comments on commit bb65991

Please sign in to comment.