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

Feature Request - Pass options to node websocket #289

Closed
Lalem001 opened this issue Dec 8, 2016 · 0 comments
Closed

Feature Request - Pass options to node websocket #289

Lalem001 opened this issue Dec 8, 2016 · 0 comments

Comments

@Lalem001
Copy link
Contributor

Lalem001 commented Dec 8, 2016

I use self signed certs when developing locally, and I need a way of setting the rejectUnauthorized option to false. I would prefer this to disabling such checks globally.

Even setting the ca option could be helpful for production use.

I am willing to make a PR, but do not know how you all would like the options to be passed.

deepstream(url, options);

/**
 * Where options could contain one of the following:
 * options.socket: Object
 * options.socketOptions: Object
 * 
 * or even perhaps:
 * options.rejectUnauthorized: Boolean
 * options.ca: String|String[]|Buffer|Buffer[]
 */

Relavent Links

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

No branches or pull requests

1 participant