Skip to content

Latest commit

 

History

History
32 lines (23 loc) · 1.21 KB

protocol-bindings.md

File metadata and controls

32 lines (23 loc) · 1.21 KB
title keywords tags permalink
Protocol bindings
bindings, protocol
protocol
protocol-bindings.html

A protocol binding defines how the Ditto protocol messages are transported using a specific network protocol e.g. "Ditto Protocol over WebSocket". The binding defines a set of rules how Ditto protocol messages are mapped to network protocol messages and back.

Currently the following protocol bindings are supported:

Content Type

When sending messages towards Ditto, the following content type has to be specified in a protocol-specific way given that the messages are already in Ditto Protocol format.

All change notifications emitted by Ditto will also contain the content-type:

application/vnd.eclipse.ditto+json

For messages which are not yet in that format, the payload mapping of Ditto's connectivity may be used to bring the messages in that format.