Record THPDFCABINetworkTimestampOptionsV1
Edição Enterprise: Esta API pertence ao HotPDF Enterprise (HotPDFEnt / Lib\Enterprise); as edições inferiores a omitem ou lançam EHPDFEnterpriseRequired
Record de opções versionado que serve de base à struct C hpdf_network_timestamp_options_v1 para configurar uma instância explícita do transporte de timestamps RFC 3161 HTTP/HTTPS embutido
THPDFCABINetworkTimestampOptionsV1 = record
StructSize, ABIVersion: UInt32;
Flags, MaxResponseBytes: UInt64;
TimeoutMS, MaxRedirects: UInt32;
URL: PAnsiChar;
URLLength: NativeUInt;
UserAgent: PAnsiChar;
UserAgentLength: NativeUInt;
end;
Declarado em HPDFCAPI (Windows) e HPDFHeadlessCAPI (Linux POSIX), espelhando hpdf_network_timestamp_options_v1 em hotpdf_abi.h (48 bytes em targets de 32 bits, 64 bytes em targets de 64 bits)
StructSize: atribuirSizeOf(THPDFCABINetworkTimestampOptionsV1)(sizeof(hpdf_network_timestamp_options_v1))ABIVersion: precisa ser igual aHPDF_ABI_VERSION_1($00010000)Flags: precisa ser0na ABI v1MaxResponseBytes: tamanho máximo aceito do body da resposta HTTP em bytes (até 64 MiB;0seleciona 4 MiB)TimeoutMS: timeout acotado de resolução/conexão/envio/recepção em milissegundos (até 300000 ms;0seleciona 15000 ms)MaxRedirects: número máximo de redirects HTTP seguidos (até 16;0seleciona 5)URL/URLLength: endpoint TSAhttp://ouhttps://em UTF-8 válido, sem bytes NUL nem caracteres de controle (1..8192 bytes)UserAgent/UserAgentLength: valor opcional do header User-Agent em UTF-8 (até 1024 bytes, sem CR/LF/NUL)
Entregue-o ao hpdf_network_timestamp_transport_create_v1, execute as requisições com o hpdf_network_timestamp_transport_v1 e libere-o depois com o hpdf_network_timestamp_transport_destroy