Inttegro.Files.Download (inttegro v0.2.0)

Copy Markdown View Source

Original file bytes returned by Inttegro.Files.contents/3 or Inttegro.FileLinks.open/2.

bytes contains the complete response body. content_type and filename are derived from the delivery response when available. The SDK does not write files to disk automatically.

Summary

Types

t()

Downloaded bytes and their response metadata.

Types

t()

@type t() :: %Inttegro.Files.Download{
  bytes: binary(),
  content_type: String.t() | nil,
  filename: String.t() | nil
}

Downloaded bytes and their response metadata.