Skip to content

Commit

Permalink
Update tutorial-03-server.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Barenboim authored Sep 26, 2020
1 parent 4415c12 commit 5520937
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/tutorial-03-server.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
### 示例
下面我们通过一个具体例子来呈现
- 沿用上面的``ExampleServiceImpl``Service
- 首先,我们创建1个RPC Server、需要确定协议、监听端口号
- 首先,我们创建1个RPC Server、需要确定协议
- 然后,我们可以创建任意个数的Service实例、任意不同proto形成的Service,把这些Service通过``add_service()``接口添加到Server里
- 最后,通过Server的``start``或者``serve``开启服务,处理即将到来的rpc请求
- 想像一下,我们也可以从``Example::Service``派生更多的功能的rpc``Echo``不同实现的Service
Expand Down

0 comments on commit 5520937

Please sign in to comment.