ClusterWS / ClusterWS

:boom: Lightweight, fast and powerful framework for building scalable WebSocket applications in Node.js
854 stars 43 forks source link

v4.0.0 Way to specify different endpoint path for WebSocket connection #120

Open goriunov opened 5 years ago

goriunov commented 5 years ago

Submitting

Details

Add option to the ClusterWS to specify different path than root for WebSocket connections ex:


new ClusterWS({
    wssUrl: "/socket"
})
carmas123 commented 5 years ago

I think that the option can be "wsUrl" and not "wssUrl", the secure connection is already defined :)

goriunov commented 5 years ago

Ohh wss -> WebSocket Server, but yes i think it is better if we use something like wsPath instead of wsUrl or wssUrl

carmas123 commented 5 years ago

oh yes :)