View Source Electric.Shapes.Api.Response (electric v1.0.1)
Summary
Types
@type shape_handle() :: Electric.ShapeCacheBehaviour.shape_handle()
@type t() :: %Electric.Shapes.Api.Response{ api: Electric.Shapes.Api.t(), body: Enum.t(), chunked: boolean(), handle: nil | shape_handle(), offset: nil | Electric.Replication.LogOffset.t(), params: Electric.Shapes.Api.Params.t(), shape_definition: nil | Electric.Shapes.Shape.t(), status: pos_integer(), trace_attrs: %{optional(atom()) => term()}, up_to_date: boolean() }
Functions
@spec error( Electric.Shapes.Api.t() | Electric.Shapes.Api.Request.t(), term(), keyword() ) :: t()
@spec send(Plug.Conn.t(), t()) :: Plug.Conn.t()