From bb659918f57d1484f60fc619b812d971a429db2a Mon Sep 17 00:00:00 2001 From: qicosmos <383121719@qq.com> Date: Fri, 7 Aug 2020 21:23:19 +0800 Subject: [PATCH] Update README.md --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 578a55e..b0796fd 100644 --- a/README.md +++ b/README.md @@ -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. \ No newline at end of file +make an IDL tool to genrate the client code.