Since express-ws is responsible for constructing the ws server, need the ability to pass in the advanced options object to it. Totally optional and doesn't require much change as you can see.
In my case I specifically needed to handle verifyClient in the ws server.
I completely agree that this should be possible and your changes look very good. I might change the version number post-merge, but the rest looks perfect. Thanks again!
Since express-ws is responsible for constructing the ws server, need the ability to pass in the advanced options object to it. Totally optional and doesn't require much change as you can see.
In my case I specifically needed to handle verifyClient in the ws server.