Models

MappingContext

object

MappingContext to apply in this connection containing JavaScript scripts mapping from external messages to internal Ditto Protocol messages. Usage of MappingContext is deprecated, use PayloadMappingDefinitions instead.

incomingScriptstringrequired

The mapping script for incoming messages

outgoingScriptstringrequired

The mapping script for outgoing messages

loadBytebufferJSbooleanrequired

Whether or not ByteBufferJS library should be included

loadLongJSbooleanrequired

Whether or not LongJS library should be included