okhttp / okhttp3 / HttpUrl / encodedFragment

encodedFragment

fun encodedFragment(): String?

Returns this URL's encoded fragment, like "abc" for http://host/#abc. This returns null if the URL has no fragment.