Package-level declarations

Functions

Link copied to clipboard
fun URLBuilder.saveAppend(key: String, parameter: Int?)

Extension for URLBuilder that safely appends a nullable integer parameter. If the parameter is null, it will not be added to the URL.

fun URLBuilder.saveAppend(key: String, parameter: String?)

Extension for URLBuilder that safely appends a nullable string parameter. If the parameter is null, it will not be added to the URL.

fun URLBuilder.saveAppend(key: String, listParameter: List<String>)

Extension for URLBuilder that safely appends a list of string parameters. If the list is empty, no parameters will be added to the URL.

Link copied to clipboard
fun URLBuilder.saveAppendLimit(limit: Int?)

Extension for URLBuilder that safely appends a limit parameter for paging requests. If the limit is null, it will not be added to the URL.