Expand description
Use ditto.set_transport_config(TransportConfig) to configure the transports for your
Ditto peer.
Structsยง
- Awdl
Config - Configuration for Apple Wireless Direct Link (AWDL) network transport. Not supported on all platforms.
- BluetoothLE
Config - 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.
- Http
Listen Config - Configure inbound HTTP transports.
- LanConfig
- Configure the Local Area Network (LAN) transport.
- Listen
- Configure inbound transports such as TCP and HTTP servers.
- Peer
ToPeer - Configure peer-to-peer transports such as Bluetooth and LAN.
- TcpListen
Config - Configure inbound TCP transports.
- Transport
Config - A configuration object specifying which network transports Ditto should use to sync data.
- Wifi
Aware Config - Configuration for Wi-Fi Aware network transport. Not supported on all platforms.