diff options
author | Sam Roberts <vieuxtech@gmail.com> | 2018-11-06 09:58:42 -0800 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-11-09 20:50:02 -0800 |
commit | 3833d69936ada7e1e1a68dc73dd31d31423fbbaf (patch) | |
tree | 49fd6a2eb704c4a7da03323b8a7af70dd69e6267 /doc/api/async_hooks.md | |
parent | 6727f1c787c721747122a14941cf67fa4a574d45 (diff) | |
download | android-node-v8-3833d69936ada7e1e1a68dc73dd31d31423fbbaf.tar.gz android-node-v8-3833d69936ada7e1e1a68dc73dd31d31423fbbaf.tar.bz2 android-node-v8-3833d69936ada7e1e1a68dc73dd31d31423fbbaf.zip |
doc: fix some inconsistent use of hostname
host names are DNS names, host addresses are IP addresses, and `host`
arguments and options can be either.
PR-URL: https://github.com/nodejs/node/pull/24199
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc/api/async_hooks.md')
-rw-r--r-- | doc/api/async_hooks.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/async_hooks.md b/doc/api/async_hooks.md index b208dffb77..4d0494d781 100644 --- a/doc/api/async_hooks.md +++ b/doc/api/async_hooks.md @@ -296,7 +296,7 @@ of propagating what resource is responsible for the new resource's existence. been initialized. This can contain useful information that can vary based on the value of `type`. For instance, for the `GETADDRINFOREQWRAP` resource type, `resource` provides the hostname used when looking up the IP address for the -hostname in `net.Server.listen()`. The API for accessing this information is +host in `net.Server.listen()`. The API for accessing this information is currently not considered public, but using the Embedder API, users can provide and document their own resource objects. For example, such a resource object could contain the SQL query being executed. |