Sesame-Server/Sources/App/API/RouteAPI.swift
2022-04-13 14:56:47 +02:00

17 lines
374 B
Swift

import Foundation
/**
The active urls on the server, for the device and the remote to connect
*/
enum RouteAPI: String {
/// Check the device status
case getDeviceStatus = "status"
/// 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"
}