commandBuilder

Extension function to create a command builder from any object.

This convenience method allows any object to be used as a command body when building a command message.

Receiver

the object to use as the command body

Return

a new CommandBuilder with this object as the body

See also