29 lines
609 B
C#
29 lines
609 B
C#
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; }
|
||
}
|
||
|