ReqManagedAgents.Evidence.Options (ReqManagedAgents v0.13.3)

Copy Markdown View Source

Aggregate capture bounds and the private content retention policy.

Summary

Functions

Validates positive bounds and rejects unknown options. Content defaults to drop.

Types

t()

@type t() :: %ReqManagedAgents.Evidence.Options{
  content: :drop | :retain,
  max_bytes: pos_integer(),
  max_pages: pos_integer(),
  max_records: pos_integer(),
  timeout_ms: pos_integer()
}

Functions

new(attrs)

@spec new(keyword() | t()) ::
  {:ok, t()} | {:error, ReqManagedAgents.Evidence.Error.t()}

Validates positive bounds and rejects unknown options. Content defaults to drop.