Other Structures
The following structures are available globally.
-
A directory or file in the Ditto working directory. Directories can be traversed by accessing the
See morechildItems
property. Files won’t have any children.Declaration
Swift
-
P2P BluetoothLE configuration. Part of
See moreDittoPeerToPeer
. -
P2P LAN configuration to configure peer discovery via mDNS or multicast. Part of
See moreDittoPeerToPeer
. -
P2P AWDL configuration. Part of
See moreDittoPeerToPeer
. -
Configuration of peer-to-peer transports, which are able to discover and connect to peers on their own.
For more information refer to the documentation for
See moreDittoTransportConfig
. -
Specific servers that Ditto should attempt to connect to. TCP servers are specified as “host:port”. WebSocket URLs take the form “wss://hydra.ditto.live”. Please refer to the documentation on Ditto’s website for configuring cloud or client/server scenarios.
See more -
TCP listening configuration.
See more -
HTTP & WebSocket listening configuration.
See more -
Configure this device as a Ditto server. Disabled by default.
This is advanced usage that is not needed in most situations. Please refer to the documentation on Ditto’s website for scenarios and example configurations.
See more -
Settings not associated with any specific type of transport.
See more -
Represents a connection between two peers on the Ditto mesh network.
See moreDeclaration
Swift
-
Declaration
Swift
-
Represents the Ditto mesh network of peers and their connections between each other. The
See morelocalPeer
is the entry point, all others are remote peers known by the local peer (either directly or via other remote peers).Declaration
Swift