CallBuilder

class CallBuilder<T>

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

Functions

add
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: <ERROR CLASS><T>)

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

Properties

returnValueSerializer
Link copied to clipboard
var returnValueSerializer: <ERROR CLASS><T>? = null

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