CallBuilder

Builder used to construct a call defining serializers for the different arguments and return value.

Properties

Link copied to clipboard
var returnValueSerializer: KSerializer<T>?

Serializer that would be used to deserialize the returned value, null by default.

Functions

Link copied to clipboard
inline fun <T : Any> add(argument: T)

Adds an argument with the default serializer for its type to the function call.

inline fun <T : Any> add(argument: T, serializer: KSerializer<T>)

Adds an argument with a user defined serializer to the function call.