PolarRestServiceApi
public protocol PolarRestServiceApi
Methods related to working with services conforming to SAGRFC95 Service discovery over PFTP
-
listRestApiServices(identifier:Asynchronous) Undocumented
Declaration
Swift
func listRestApiServices(identifier: String) async throws -> PolarDeviceRestApiServices -
getRestApiDescription(identifier:Asynchronouspath: ) Undocumented
Declaration
Swift
func getRestApiDescription(identifier: String, path: String) async throws -> PolarDeviceRestApiServiceDescription -
putNotification(identifier:Asynchronousnotification: path: ) Undocumented
Declaration
Swift
func putNotification(identifier: String, notification: String, path: String) async throws -
Undocumented
Declaration
Swift
func receiveRestApiEvents<T>(identifier: String) -> AsyncThrowingStream<[T], Error> where T : Decodable