Appwrite.Types.Client.RealtimeRequest (appwrite v1.0.0)

View Source

A message sent by the client to the Appwrite Realtime WebSocket server.

Currently only the :authentication type is defined by the Appwrite Realtime protocol. The data field carries the type-specific payload.

Fields

  • type (:authentication) — Message type tag. Always :authentication for client-originated requests.
  • data (Appwrite.Types.Client.RealtimeRequestAuthenticate.t()) — Authentication payload containing the session secret.

Summary

Types

t()

@type t() :: %Appwrite.Types.Client.RealtimeRequest{
  data: Appwrite.Types.Client.RealtimeRequestAuthenticate.t(),
  type: :authentication
}