Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
{object} => {Object}, {function} => {Function}
  • Loading branch information
rubys committed Jul 14, 2018
commit f6812443adfe423ec325e7fce78a836c351b6f7b
16 changes: 8 additions & 8 deletions doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -671,7 +671,7 @@ callback.
added: v0.1.90
-->

* `exception` {object}
* `exception` {Object}
* Returns: {net.Socket}

Ensures that no more I/O activity happens on this socket. Only necessary in
Expand Down Expand Up @@ -812,7 +812,7 @@ added: v0.1.90
-->

* `timeout` {number}
* `callback` {function}
* `callback` {Function}
* Returns: {net.Socket} The socket itself.

Sets the socket to timeout after `timeout` milliseconds of inactivity on
Expand Down Expand Up @@ -886,8 +886,8 @@ Possible signatures:
<!-- YAML
added: v0.7.0
-->
* `options` {object}
* `connectListener` {function}
* `options` {Object}
* `connectListener` {Function}
Alias to
[`net.createConnection(options[, connectListener])`][`net.createConnection(options)`].

Expand All @@ -896,7 +896,7 @@ Alias to
added: v0.1.90
-->
* `path` {string}
* `connectListener` {function}
* `connectListener` {Function}

Alias to
[`net.createConnection(path[, connectListener])`][`net.createConnection(path)`].
Expand All @@ -907,7 +907,7 @@ added: v0.1.90
-->
* `port` {number}
* `host` {string}
* `connectListener` {function}
* `connectListener` {Function}

Alias to
[`net.createConnection(port[, host][, connectListener])`][`net.createConnection(port, host)`].
Expand Down Expand Up @@ -1030,8 +1030,8 @@ then returns the `net.Socket` that starts the connection.
<!-- YAML
added: v0.5.0
-->
* `options` {object}
* `connectionListener` {function}
* `options` {Object}
* `connectionListener` {Function}

Creates a new TCP or [IPC][] server.

Expand Down
Loading