diff options
author | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-04-30 00:39:20 +0300 |
---|---|---|
committer | Vse Mozhet Byt <vsemozhetbyt@gmail.com> | 2018-05-02 06:02:42 +0300 |
commit | 536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d (patch) | |
tree | 657ba0b43ab48856ab0232f17517907200901b3e /doc | |
parent | aaca38a26118c9d7d8409fa3a8643149f148641f (diff) | |
download | node-new-536b1fbd3ff38df3d5e8eb0b011820fd94f68b9d.tar.gz |
doc: mitigate `marked` bug
PR-URL: https://github.com/nodejs/node/pull/20411
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/net.md | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/doc/api/net.md b/doc/api/net.md index 6b8afce4a5..041e8e88b4 100644 --- a/doc/api/net.md +++ b/doc/api/net.md @@ -192,7 +192,8 @@ Possible signatures: * [`server.listen(options[, callback])`][`server.listen(options)`] * [`server.listen(path[, backlog][, callback])`][`server.listen(path)`] for [IPC][] servers -* [`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`] +* <a href="#net_server_listen_port_host_backlog_callback"> + <code>server.listen([port[, host[, backlog]]][, callback])</code></a> for TCP servers This function is asynchronous. When the server starts listening, the @@ -264,7 +265,8 @@ added: v0.11.14 * Returns: {net.Server} If `port` is specified, it behaves the same as -[`server.listen([port[, host[, backlog]]][, callback])`][`server.listen(port, host)`]. +<a href="#net_server_listen_port_host_backlog_callback"> +<code>server.listen([port[, host[, backlog]]][, callback])</code></a>. Otherwise, if `path` is specified, it behaves the same as [`server.listen(path[, backlog][, callback])`][`server.listen(path)`]. If none of them is specified, an error will be thrown. @@ -1136,7 +1138,6 @@ Returns `true` if input is a version 6 IP address, otherwise returns `false`. [`server.listen(handle)`]: #net_server_listen_handle_backlog_callback [`server.listen(options)`]: #net_server_listen_options_callback [`server.listen(path)`]: #net_server_listen_path_backlog_callback -[`server.listen(port, host)`]: #net_server_listen_port_host_backlog_callback [`socket.connect()`]: #net_socket_connect [`socket.connect(options)`]: #net_socket_connect_options_connectlistener [`socket.connect(path)`]: #net_socket_connect_path_connectlistener |