Skip to content

//core/com.petersamokhin.vksdk.core.http/paramsOf

paramsOf

[common]\ fun paramsOf(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

[common]\ fun paramsOf(vararg pairs: Pair<String, Any?>): Parameters

Make a parameters map from pairs.

Return

Parameters instance

[common]\ fun paramsOf(map: Map<String, Any?>): Parameters

Make a parameters map from map.

Return

Parameters instance