phoenix-channel / ch.kuon.phoenix / Channel / Push

Push

class Push

Constructors

<init>

Push(channel: Channel, event: String, payload: JSONObject, timeout: Int)

Functions

receive

Register a callback when a message with the following status is returned.

fun receive(status: String, callback: (JSONObject) -> Unit): Push