Lightning.Channels.ChannelRequest (Lightning v2.19.0-pre)

View Source

Schema for a ChannelRequest — tracks the lifecycle of a single proxied HTTP request through a channel.

Summary

Types

t()

@type t() :: %Lightning.Channels.ChannelRequest{
  __meta__: term(),
  channel: term(),
  channel_events: term(),
  channel_id: Ecto.UUID.t(),
  channel_snapshot: term(),
  channel_snapshot_id: Ecto.UUID.t(),
  client_auth_type: String.t() | nil,
  client_identity: String.t() | nil,
  client_webhook_auth_method: term(),
  client_webhook_auth_method_id: Ecto.UUID.t() | nil,
  completed_at: DateTime.t() | nil,
  destination_credential: term(),
  destination_credential_id: Ecto.UUID.t() | nil,
  id: Ecto.UUID.t(),
  is_wiped: boolean(),
  request_id: String.t(),
  started_at: DateTime.t(),
  state: :pending | :success | :failed | :timeout | :error
}

Functions

changeset(request, attrs)