Skip to content

Commit

Permalink
doc: fix return type of server.address()
Browse files Browse the repository at this point in the history
PR-URL: #22043
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Vse Mozhet Byt <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
  • Loading branch information
starkwang authored and targos committed Aug 4, 2018
1 parent dafaff3 commit d2ad9a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/net.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Emitted when the server has been bound after calling [`server.listen()`][].
added: v0.1.90
-->

* Returns: {Object}
* Returns: {Object|string}

Returns the bound `address`, the address `family` name, and `port` of the server
as reported by the operating system if listening on an IP socket
Expand Down

0 comments on commit d2ad9a2

Please sign in to comment.