DittoTransport
public enum DittoTransport : Hashable
This enumeration lists the transports that Ditto can use to connect to other devices.
- wifi: WiFi.
- bluetooth: Bluetooth.
- awdl: AWDL (Apple Wireless Direct Link).
- tcpServer: A connection to a peer running a TCP server in wifiFixedPort mode.
- webServer: A connection to an HTTP server with websocket sync enabled. Example: ws://ditto.example.com
-
Undocumented
Declaration
Swift
case bluetooth
-
Undocumented
Declaration
Swift
case wifi
-
Undocumented
Declaration
Swift
case awdl
-
Undocumented
Declaration
Swift
case tcpServer(address: String)
-
Undocumented
Declaration
Swift
case wifiFixedPort(listenPort: UInt16)
-
Undocumented
Declaration
Swift
case webServer(url: String)