javascript - netty secure websockets using http.. possible? -
i have configured websocket connection following example:
this works, have browser connecting secured websocket using https address.
$(document).ready(function () { var location = "wss://localhost:9999/websocket" ws = new websocket(location); ws.onopen = function(event) { } ws.onclose = function(event) { } ws.onmessage = function(event) { } }); i want connect page makes websocket connection using http?... possible ?... have tried this, , doesn't seem work.. im not sure...
i have read possible create wss connection when regardless of going page using http or https?.. correct?
Comments
Post a Comment