Skip to content
This repository has been archived by the owner on Aug 31, 2024. It is now read-only.

Access server, and server.address after calling app.createServer #33

Open
3 tasks
ariporad opened this issue Oct 25, 2015 · 0 comments
Open
3 tasks

Access server, and server.address after calling app.createServer #33

ariporad opened this issue Oct 25, 2015 · 0 comments
Assignees
Milestone

Comments

@ariporad
Copy link
Contributor

This should be easy, but when calling app.listen app.createServer (an io can only be attached to one server), it would be nice if the returned server was also available (later on) as app.server (app.io already is). It would also be nice (as a convenience), to have app.address be an alias for server.address

Todo list:

  • Calling app.listen app.createServer sets app.server
  • Calling app.listen app.createServer sets 'app.address`
  • Document
@ariporad ariporad changed the title Access server, and server.address after calling app.listen Access server, and server.address after calling app.createServer Oct 25, 2015
@ariporad ariporad added this to the 0.1.0 milestone Oct 25, 2015
@ariporad ariporad self-assigned this Oct 25, 2015
@ariporad ariporad mentioned this issue Oct 25, 2015
9 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant