FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add https.Server to accepted types by h110m · Pull Request #4351 · socketio/socket.io · GitHub

Add https.Server to accepted types - #4351

Closed
h110m wants to merge 1 commit into
socketio:mainfrom
h110m:patch-1
Closed

Add https.Server to accepted types#4351
h110m wants to merge 1 commit into
socketio:mainfrom
h110m:patch-1

Conversation

h110m commented Apr 25, 2022
edited
Loading

Copy link
Copy Markdown
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 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)

Copy link
Copy Markdown
Member

Merged as 9b43c91. Thanks 👍

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL