PushClient
public extension PushClient
-
Request to register device token to the server @param token device token @param user - device’s user @returns A publisher that eventually return
Result.success
orError
.Declaration
Swift
func registerDevice(token: String, user: User) -> Future<Void, Error>
-
Request to deregister a device for a user @param user - devoce’s user @returns A publisher that eventually return
Result.success
orError
.Declaration
Swift
func deregisterDevice(user: User) -> Future<Void, Error>