2022-04-13 14:55:22 +02:00
|
|
|
import Foundation
|
|
|
|
|
|
|
|
/**
|
|
|
|
The active urls on the server, for the device and the remote to connect
|
|
|
|
*/
|
2023-12-12 17:33:42 +01:00
|
|
|
enum SesameRoute: String {
|
2022-04-13 14:55:22 +02:00
|
|
|
|
|
|
|
/// Send a message to the server, to relay to the device
|
|
|
|
case postMessage = "message"
|
|
|
|
|
|
|
|
/// Open a socket between the device and the server
|
|
|
|
case socket = "listen"
|
|
|
|
}
|