unsubscribe

fun unsubscribe(topic: String, subscriptionRef: Int)

Unsubscribes from a topic

Parameters

topic

the name of the topic to unsubscribe from

subscriptionRef

the subscription reference returned from subscribe