Skip to content

doc: add link & simplify data event (net.Socket)#19487

Closed
boneskull wants to merge 1 commit intonodejs:masterfrom
boneskull:net-socket-docs
Closed

doc: add link & simplify data event (net.Socket)#19487
boneskull wants to merge 1 commit intonodejs:masterfrom
boneskull:net-socket-docs

Conversation

@boneskull
Copy link
Member

@boneskull boneskull commented Mar 20, 2018

This adds a more specific link from the docs for net.Socket's data event to socket.setEncoding(), which in turn links to the readable stream docs for more info. It removes the link directly to the readable stream docs.

It also fixes a misnamed link (stream.setEncoding when should be readable.setEncoding)

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Signed-off-by: Christopher Hiller <boneskull@boneskull.com>
@nodejs-github-bot nodejs-github-bot added doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem. labels Mar 20, 2018
@trivikr
Copy link
Member

trivikr commented Mar 25, 2018

trivikr pushed a commit to trivikr/node that referenced this pull request Mar 25, 2018
PR-URL: nodejs#19487
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
@trivikr
Copy link
Member

trivikr commented Mar 25, 2018

Landed in df0a37a

@trivikr trivikr closed this Mar 25, 2018
targos pushed a commit that referenced this pull request Mar 27, 2018
PR-URL: #19487
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. net Issues and PRs related to the net subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants