appendPathSegments
Adds segments to current encodedPath.
Parameters
segments
path items to append
encodeSlash
true
to encode the '/' character to allow it to be a part of a path segment; false
to use '/' as a separator between path segments.
fun URLBuilder.appendPathSegments(vararg components: String, encodeSlash: Boolean = false): URLBuilder
Adds components to current encodedPath
Parameters
components
path items to append
encodeSlash
true
to encode the '/' character to allow it to be a part of a path segment; false
to use '/' as a separator between path segments.