View Source Appwrite.Types.Client.RealtimeResponse (appwrite v0.1.9)

Realtime response structure with different response types.

Summary

Types

t()

@type t() :: %Appwrite.Types.Client.RealtimeResponse{
  data:
    Appwrite.Types.Client.RealtimeResponseAuthenticated.t()
    | Appwrite.Types.Client.RealtimeResponseConnected.t()
    | Appwrite.Types.Client.RealtimeResponseError.t()
    | Appwrite.Types.Client.RealtimeResponseEvent.t(),
  type: :error | :event | :connected | :response
}