Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rename ServerRequest to IncomingMessage in readme #448

Closed
wants to merge 2 commits into from

Conversation

DominikPalo
Copy link
Contributor

The kind of change this PR does introduce

  • a bug fix
  • a new feature
  • an update to the documentation
  • a code change that improves performance
  • other

Current behaviour

Documentation uses http.ServerRequest for node request objects

New behaviour

Documentation uses http.IncomingMessage for node request objects

Other information (e.g. related issues)

According to the node http documentation, correct name for a node request class is IncomingMessage.

@darrachequesne
Copy link
Member

darrachequesne commented Nov 23, 2016

http.ServerRequest indeed refers to Node.js v0.6/v0.8.

Could you also update the jsdoc here https://github.com/socketio/engine.io/blob/master/lib/server.js please?

@darrachequesne
Copy link
Member

@DominikPalo friendly ping

@DominikPalo
Copy link
Contributor Author

Thanks, done

darrachequesne pushed a commit that referenced this pull request Dec 5, 2016
`http.ServerRequest` did refer to the HTTP API of Nodejs prior to v0.10
@darrachequesne
Copy link
Member

Merged as 8450d03. Thanks!

@darrachequesne darrachequesne added this to the 1.8.2 milestone Dec 10, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants