Skip to content

Commit 4dad565

Browse files
authored
feat(HtmlToPdf): add support to ARM browsers (dotnetcore#6438)
* feat: 增加 IWebProxy 接口可以设置网络代理 * wip: 增加 IWebProxy 接口 * chore: 更新 HTML PDF 依赖到 9.0.3
1 parent 235f38a commit 4dad565

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

src/BootstrapBlazor.Server/BootstrapBlazor.Server.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
<PackageReference Include="BootstrapBlazor.Gantt" Version="9.0.2" />
4242
<PackageReference Include="BootstrapBlazor.Holiday" Version="9.0.1" />
4343
<PackageReference Include="BootstrapBlazor.Html2Image" Version="9.0.2" />
44-
<PackageReference Include="BootstrapBlazor.Html2Pdf" Version="9.0.2" />
44+
<PackageReference Include="BootstrapBlazor.Html2Pdf" Version="9.0.3" />
4545
<PackageReference Include="BootstrapBlazor.IconPark" Version="9.0.3" />
4646
<PackageReference Include="BootstrapBlazor.ImageCropper" Version="9.0.3" />
4747
<PackageReference Include="BootstrapBlazor.IP2Region" Version="9.0.1" />

src/BootstrapBlazor/Services/IHtml2Pdf.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,21 @@
33
// See the LICENSE file in the project root for more information.
44
// Maintainer: Argo Zhang([email protected]) Website: https://www.blazor.zone
55

6+
using System.Net;
7+
68
namespace BootstrapBlazor.Components;
79

810
/// <summary>
911
/// Html export PDF service
1012
/// </summary>
1113
public interface IHtml2Pdf
1214
{
15+
///// <summary>
16+
///// 获得/设置 WebProxy 对象用于网络请求代理
17+
///// <para>Get or set the WebProxy object for network request proxy</para>
18+
///// </summary>
19+
//public IWebProxy? WebProxy { get; set; }
20+
1321
/// <summary>
1422
/// Export method
1523
/// </summary>

0 commit comments

Comments
 (0)