Skip to content
url_toolsFunctions

buildWsTarget

String buildWsTarget(String baseUrl)

Converts HTTP URL to WebSocket URL.

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