Module transport

Module transport 

Source
Expand description

Use ditto.set_transport_config(TransportConfig) to configure the transports for your Ditto peer.

Structsยง

BluetoothLEConfig
Configure the Bluetooth Low-Energy transport.
Connect
Configure outbound transports such as TCP and WebSocket dialing.
Global
Settings not associated with any specific type of transport.
HttpListenConfig
Configure inbound HTTP transports.
LanConfig
Configure the Local Area Network (LAN) transport.
Listen
Configure inbound transports such as TCP and HTTP servers.
PeerToPeer
Configure peer-to-peer transports such as Bluetooth and LAN.
TcpListenConfig
Configure inbound TCP transports.
TransportConfig
A configuration object specifying which network transports Ditto should use to sync data.