Sesame-Server/Sources/App/API/SesameRoute.swift

14 lines
308 B
Swift
Raw Normal View History

2022-04-13 14:56:47 +02:00
import Foundation
/**
The active urls on the server, for the device and the remote to connect
*/
2023-12-08 12:39:10 +01:00
enum SesameRoute: String {
2022-04-13 14:56:47 +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"
}