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

Add https.Server to accepted types #4351

Closed
wants to merge 1 commit into from
Closed

Conversation

h110m
Copy link
Contributor

@h110m h110m commented Apr 25, 2022

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 behavior

Currently you can't attach a https server to the socket.io instance. You would first need to cast it to any and then to http.Server if you want to use it

New behavior

Socket.io should now also accept https.Server

Other information (e.g. related issues)

* [x] a bug fix
* [ ] a new feature
* [ ] an update to the documentation
* [ ] a code change that improves performance
* [ ] other

### Current behavior
Currently you can't attach a https server to the socket.io instance. You would first need to cast it to any and then to http.Server if you want to use it

### New behavior
Socket.io should now also accept https.Server

### Other information (e.g. related issues)
@darrachequesne
Copy link
Member

Merged as 9b43c91. Thanks 👍

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.

None yet

2 participants