Extensions for kotlin.collections.List

formUrlEncode

fun List<Pair<String, String?>>.formUrlEncode(): String

Encode form parameters from a list of pairs

formUrlEncodeTo

fun List<Pair<String, String?>>.formUrlEncodeTo(
    out: Appendable
): Unit

Encode form parameters from a list of pairs to the specified out appendable