setQueryParameters

fun setQueryParameters(params: Any, useAsDefault: Boolean? = definedExternally)(source)

Combines the specified object and the existing query parameters. This allows you to add many parameters at once, as opposed to adding them one at a time to the queryParameters property. If a value is already set, it will be replaced with the new value.

Parameters

params

The query parameters

useAsDefault

If true the params will be used as the default values, so they will only be set if they are undefined. Default value - false

See also