Validates that a URL uses a secure (TLS) scheme.
https://
wss://
Logs a warning via the Logger if a non-TLS scheme is detected.
The URL string to validate.
The type of URL being validated: 'rest' or 'websocket'.
If the URL uses an insecure scheme (http:// or ws://).
Validates that a URL uses a secure (TLS) scheme.
https://wss://Logs a warning via the Logger if a non-TLS scheme is detected.