extension

inline fun <T : Any> extension(name: String, value: T)(source)

Adds a extension to this response.

Report a problem

Parameters

name

The extension name; must start with x-.

value

The extension value.