Skip to content

buildWsTarget ​

String buildWsTarget(String baseUrl)

Converts HTTP URL to WebSocket URL.

Replaces http:// with ws:// and https:// with wss://.