Package io.github.ajacquierbret.kotlinphoenix.client
Types
A closure that will decode a JSON String into a Message
A closure that will encode a Payload into a JSON String
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 Socket which connects to a Phoenix Socket. Takes a closure to allow for changing parameters to be sent to the server when connecting.
Alias for a SharedFlow of SocketEvent
A Timer class that schedules a Job 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.