Skip to content

//core/com.petersamokhin.vksdk.core.http/Parameters/Companion/of

of

[common]\

@JvmStatic()

fun of(vararg arr: String): Parameters

Make a parameters map from strings. Each odd parameter is a key for the map, each even parameter is a value. If total count of params is odd, the value for it is the empty string.

Return

Parameters instance

Parameters

common

arr List of parameters' keys and values

[common]\

@JvmStatic()

fun of(vararg pairs: Pair<String, Any?>): Parameters

Make a parameters map from pairs.

Return

Parameters instance

[common]\

@JvmStatic()

fun of(map: Map<String, Any?>): Parameters

Make a parameters map from map.

Return

Parameters instance

Parameters

common

map Other map