HtmlToPdf/mvp/HtmlToPdfService.Api/Models/CallbackOptionsDto.cs
2025-12-11 23:35:52 +08:00

29 lines
609 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

namespace HtmlToPdfService.Api.Models;
/// <summary>
/// 回调选项 DTO
/// </summary>
public class CallbackOptionsDto
{
/// <summary>
/// 回调 URL
/// </summary>
public string? Url { get; set; }
/// <summary>
/// HTTP 方法(默认 POST
/// </summary>
public string Method { get; set; } = "POST";
/// <summary>
/// 自定义 Headers
/// </summary>
public Dictionary<string, string>? Headers { get; set; }
/// <summary>
/// 是否在回调中包含 PDF 数据Base64
/// </summary>
public bool? IncludePdfData { get; set; }
}