Query

abstract class Query(source)

Base of the query builders, carrying what every Content Delivery API endpoint has in common: nothing beyond a way to set a parameter directly. token, version and cv are the other parameters every endpoint takes, and they belong to the Ktor plugin's configuration rather than to a single query.

Inheritors

Functions

Link copied to clipboard
fun parameter(name: String, value: Any)

Set a query parameter directly, for forward compatibility with parameters this SDK version does not know about yet.