core/play/src/main/java/play/mvc/Call.java
public String webSocketURL(Http.Request request) {
    return webSocketURL(request.secure(), request.host());
  }
public String webSocketURL(Http.Request request) {
    return webSocketURL(request.secure(), request.host());
  }
Transform this call to an WebSocket URL.

@param request used as the base for forming the WS url
@return the websocket url string