https://kotlinlang.org logo
i

iamthevoid

06/30/2021, 10:46 AM
I want to check is entered URL valid. I use ktor for network. There is UrlBuilder and Url classes, able to parse url, but each entered url parsing without exception except empty string. Is there util to throw exception on invalid url string in common multiplatform code?