未验证 提交 8e308153 编写于 作者: O openharmony_ci 提交者: Gitee

!15101 Http Docs BugFix

Merge pull request !15101 from Yangys/master
...@@ -116,7 +116,7 @@ request\(url: string, callback: AsyncCallback\<HttpResponse\>\):void ...@@ -116,7 +116,7 @@ request\(url: string, callback: AsyncCallback\<HttpResponse\>\):void
| 2300999 | Unknown Other Error. | | 2300999 | Unknown Other Error. |
>**错误码说明:** >**错误码说明:**
> 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-http.md)。 > 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-net-http.md)。
> HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html) > HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html)
**示例:** **示例:**
...@@ -189,7 +189,7 @@ request\(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpR ...@@ -189,7 +189,7 @@ request\(url: string, options: HttpRequestOptions, callback: AsyncCallback<HttpR
| 2300999 | Unknown Other Error. | | 2300999 | Unknown Other Error. |
>**错误码说明:** >**错误码说明:**
> 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-http.md)。 > 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-net-http.md)。
> HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html) > HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html)
**示例:** **示例:**
...@@ -277,7 +277,7 @@ request\(url: string, options? : HttpRequestOptions\): Promise<HttpResponse\> ...@@ -277,7 +277,7 @@ request\(url: string, options? : HttpRequestOptions\): Promise<HttpResponse\>
| 2300999 | Unknown Other Error. | | 2300999 | Unknown Other Error. |
>**错误码说明:** >**错误码说明:**
> 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-http.md)。 > 以上错误码的详细介绍参见[HTTP错误码](../errorcodes/errorcode-net-http.md)。
> HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html) > HTTP 错误码映射关系:2300000 + curl错误码。更多常用错误码,可参考:[curl错误码](https://curl.se/libcurl/c/libcurl-errors.html)
**示例:** **示例:**
......
...@@ -714,7 +714,7 @@ Socket的连接信息。 ...@@ -714,7 +714,7 @@ Socket的连接信息。
## UDP 错误码说明 ## UDP 错误码说明
UDP 其余错误码映射形式为:2301000 + 内核错误码。 UDP 其余错误码映射形式为:2301000 + Linux内核错误码。
错误码的详细介绍参见[Socket错误码](../errorcodes/errorcode-net-socket.md) 错误码的详细介绍参见[Socket错误码](../errorcodes/errorcode-net-socket.md)
...@@ -1592,7 +1592,7 @@ TCPSocket连接的其他属性。 ...@@ -1592,7 +1592,7 @@ TCPSocket连接的其他属性。
## TCP 错误码说明 ## TCP 错误码说明
TCP 其余错误码映射形式为:2301000 + 内核错误码。 TCP 其余错误码映射形式为:2301000 + Linux内核错误码。
错误码的详细介绍参见[Socket错误码](../errorcodes/errorcode-net-socket.md) 错误码的详细介绍参见[Socket错误码](../errorcodes/errorcode-net-socket.md)
......
...@@ -66,11 +66,15 @@ Couldn't resolve host name. ...@@ -66,11 +66,15 @@ Couldn't resolve host name.
**可能原因** **可能原因**
传入的服务器的URL不正确。 1.传入的服务器的URL不正确。
2.网络不通畅。
**处理步骤** **处理步骤**
请检查入的服务器的URL是否合理。 1.请检查输入的服务器的URL是否合理。
2.请检查网络连接情况
## 2300007 无法连接到服务器 ## 2300007 无法连接到服务器
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册