Would it be maybe possible to separate out `Url` a...
# ktor
u
Would it be maybe possible to separate out
Url
and
URLBuilder
into a separate artifact? I sorely miss some url type thats kmp ready in my public api (I dont want just pass strings around) But with current ktor setup I would be exposing way too much of http stuff, headers cookies verbs etc
a
What do you mean by exposing?
u
api surface
a
Why can't you wrap the Ktor API to define your own API surface?
u
I can but I'd prefer not to, it quite large surface to wrap - Parameters, URLBuilder as well etc and this would be a popular use case; ios has
URL
type and people use it all over the place in configurations etc. vs on android it's just plain strings scattered around which is less safe