We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
As of now, interface ServerOptions asks for an http object. I would like it to accept https as well as http
interface ServerOptions
https
http
Is it as easy as changing the interface definition to the following code?
interface
import * from 'https'; export interface ServerOptions { server?: http.Server|https.Server; port?: number; ws?: WebSocketServer; }
If so I'd be happy to make a PR. If you foresee other issues popping up, let me know and I can also make those changes.
Thanks!
The text was updated successfully, but these errors were encountered:
#39 opened to get this ball rolling
Sorry, something went wrong.
07a9137
No branches or pull requests
As of now,
interface ServerOptions
asks for an http object. I would like it to accepthttps
as well ashttp
Is it as easy as changing the
interface
definition to the following code?If so I'd be happy to make a PR. If you foresee other issues popping up, let me know and I can also make those changes.
Thanks!
The text was updated successfully, but these errors were encountered: