From 4425571e833078ddee54a50532e56a2995debef1 Mon Sep 17 00:00:00 2001 From: popony <38776021+popony@users.noreply.github.com> Date: Fri, 27 Apr 2018 13:20:08 -0400 Subject: [PATCH] Support custom HttpClient (#97) * Update AcmeHttpClient.cs --- docs/CHANGELOG.md | 2 ++ src/Certes/Acme/AcmeHttpClient.cs | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/docs/CHANGELOG.md b/docs/CHANGELOG.md index d1352451..1ba37a53 100644 --- a/docs/CHANGELOG.md +++ b/docs/CHANGELOG.md @@ -4,6 +4,7 @@ All notable changes to this project will be documented in this file. ## [Unreleased] ### Added - Export full chain certification in PEM ([#87][i87]) +- Support custom `HttpClient` ([#95][i95]) ### Changed - Encapsulating ACME errors in exceptions ([#65][i65]) @@ -66,3 +67,4 @@ All notable changes to this project will be documented in this file. [i76]: https://github.com/fszlin/certes/issues/76 [i86]: https://github.com/fszlin/certes/issues/86 [i87]: https://github.com/fszlin/certes/issues/87 +[i95]: https://github.com/fszlin/certes/issues/95 diff --git a/src/Certes/Acme/AcmeHttpClient.cs b/src/Certes/Acme/AcmeHttpClient.cs index 68fb3e26..1efcad86 100644 --- a/src/Certes/Acme/AcmeHttpClient.cs +++ b/src/Certes/Acme/AcmeHttpClient.cs @@ -15,7 +15,7 @@ namespace Certes.Acme /// HTTP client handling ACME operations. /// /// - internal class AcmeHttpClient : IAcmeHttpClient + public class AcmeHttpClient : IAcmeHttpClient { private const string MimeJoseJson = "application/jose+json";