Skip to content

doc/api: listed server.listen() parameters and made some minor corr… - #39984

Closed
vi-kush wants to merge 2 commits into
nodejs:masterfrom
vi-kush:nodeDocs
Closed

doc/api: listed server.listen() parameters and made some minor corr…#39984
vi-kush wants to merge 2 commits into
nodejs:masterfrom
vi-kush:nodeDocs

Conversation

@vi-kush

@vi-kushvi-kush commented Sep 3, 2021

Copy link
Copy Markdown

listed server.listen() parameters

doc/api/http.md : listed server.listen() parameters

@nodejs-github-botnodejs-github-bot added the doc Issues and PRs related to the documentations. label Sep 3, 2021
Comment threaddoc/api/fs.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
first directory path created, `(err [,path])`.
first directory path created, `(err[, path])`.

Comment threaddoc/api/fs.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `fs.readSync(fd, buffer [,options])`
### `fs.readSync(fd, buffer[, options])`

Comment threaddoc/api/http.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `server.listen(Port [,host] [,callback])`
### `server.listen(port[, host[, callback]])`

Comment threaddoc/api/http.md Outdated
Comment on lines 1295 to 1297

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*`Port` {Number}
*`Host` {String}
*`callback` {Function}
*`port` {number}
*`host` {string}
*`callback` {Function}

Comment threaddoc/api/stream.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `stream.Readable.from(iterable [,options])`
### `stream.Readable.from(iterable[, options])`

Comment threaddoc/api/http.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
### `server.listen(Port[, host][, callback])`
### `server.listen(port[, host][, callback])`

Comment threaddoc/api/http.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*`Port` {number}
*`port` {number}

Comment threaddoc/api/http.md Outdated

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
*`Host` {string}
*`host` {string}

doc/api/http.md: listed server.listen() parameters
Comment threaddoc/api/http.md Outdated
customized.

### `server.listen()`
### `server.listen(port[, host][, callback])`

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep it as is. server.listen() has multiple signatures. See https://nodejs.org/api/net.html#net_server_listen.

@VoltrexKeyvaVoltrexKeyva added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Sep 7, 2021
targos pushed a commit that referenced this pull request Sep 18, 2021
PR-URL: #39984
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@targos

Copy link
Copy Markdown
Member

Landed in f4292bc

@targostargos closed this Sep 18, 2021
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #39984
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
BethGriggs pushed a commit that referenced this pull request Sep 21, 2021
PR-URL: #39984
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
@BethGriggsBethGriggs mentioned this pull request Sep 21, 2021
1 task
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

author readyPRs that have at least one approval, no pending requests for changes, and a CI started.docIssues and PRs related to the documentations.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants

@vi-kush@targos@mscdex@jasnell@lpinca@VoltrexKeyva@nodejs-github-bot