Binary document returned by DocRaptor (PDF or spreadsheet bytes).
:body— raw file bytes (write withFile.write!/2):content_type— responseContent-Typewhen present:num_pages— fromX-DocRaptor-Num-Pageswhen DocRaptor sends it
Summary
Types
@type t() :: %DocRaptor.Document{ body: binary(), content_type: String.t() | nil, num_pages: non_neg_integer() | nil }