Closed zh99998 closed 11 years ago
Yes it is.
If you are creating client handshake then simply provide valid protocol(ws://
or wss://
) and websocket-ruby will automatically detect whenever it should send headers appropriate headers or not.
For server you need to pass :secure => true
option and it will do the same.
Please remember that WebSocket protocol is providing only minimal support for SSL connection - you will need to handle encryption yourself when building server/client or prepare proxy that will do it for you.
thanks
does websocket-ruby support websocket over ssl?