Fragment

@Target(allowedTargets = [AnnotationTarget.FUNCTION])
annotation class Fragment(val value: String, val encoded: Boolean = false)

Add a hash mark # introduces the optional fragment near the end of the URL.

See also

Properties

Link copied to clipboard
val encoded: Boolean = false

Specifies whether the names and values are already URL encoded.

Link copied to clipboard

A sequence of any characters. The resource itself defines the exact format of the fragment.