Package-level declarations
Types
Represents a Channel bound to a given topic
A closure that will decode a JSON String into a Message
Interface which abstracts away scheduling future tasks, allowing fake instances to be injected and manipulated during tests
Abstracts away a future task
A closure that will encode a Map
Closure signature of OnJoin callbacks
Closure signature for OnLeave callbacks
A closure that will return an optional Payload
Diff has keys "joins" and "leaves", pointing to a Presence.State each containing the users that joined and left.
A mapping of a String to an array of Metas. e.g. {"metas": {id: 1}}
Meta details of a Presence. Just a dictionary of properties
A mapping of a Presence state to a mapping of Metas
A DispatchQueue that uses a ScheduledThreadPoolExecutor to schedule tasks to be executed in the future.
A DispatchWorkItem that wraps a ScheduledFuture<*> created by a ScheduledDispatchQueue
A Socket which connects to a Phoenix Server. Takes a closure to allow for changing parameters to be sent to the server when connecting.
A Timer class that schedules a callback to be called in the future. Can be configured to use a custom retry pattern, such as exponential backoff.
A WebSocket implementation of a Transport that uses a WebSocket to facilitate sending and receiving data.