This is an automated email from the ASF dual-hosted git repository.
xiaofeng pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-brpc.git
The following commit(s) were added to refs/heads/master by this push:
new b569fad7 fix http_client.md duplicate error (#2061)
b569fad7 is described below
commit b569fad719334abc0d54db3fd563f4fd7b1d8abc
Author: Ran Miller <[email protected]>
AuthorDate: Sun Dec 25 17:17:01 2022 +0800
fix http_client.md duplicate error (#2061)
---
docs/cn/http_client.md | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/docs/cn/http_client.md b/docs/cn/http_client.md
index ebc55af6..a6bfb1bb 100644
--- a/docs/cn/http_client.md
+++ b/docs/cn/http_client.md
@@ -101,7 +101,7 @@ URL的一般形式如下图:
// interpretable as extension
```
-在上面例子中可以看到,Channel.Init()和cntl.http_request().uri()被设置了相同的URL。为什么Channel为什么不直接利用Init时传入的URL,而需要给uri()再设置一次?
+在上面例子中可以看到,Channel.Init()和cntl.http_request().uri()被设置了相同的URL。为什么Channel不直接利用Init时传入的URL,而需要给uri()再设置一次?
确实,在简单使用场景下,这两者有所重复,但在复杂场景中,两者差别很大,比如:
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]