toggle menu
okhttp-parent
5.0.0-SNAPSHOT
jvm
switch theme
search in API
okhttp
/
okhttp3
/
HttpUrl
/
Companion
/
toHttpUrl
to
Http
Url
@
JvmStatic
@
JvmName
(
name
=
"get"
)
fun
String
.
toHttpUrl
(
)
:
HttpUrl
Returns a new
HttpUrl
representing this.
Throws
Illegal
Argument
Exception
If this is not a well-formed HTTP or HTTPS URL.