From 66d58a5dc23fc9398d6739a6a7122af04de8f451 Mon Sep 17 00:00:00 2001 From: Fabian Fett Date: Fri, 7 Oct 2022 16:42:56 +0200 Subject: [PATCH] Add Hashable conformace to `HTTPClient.Configuration.Proxy` --- Sources/AsyncHTTPClient/HTTPClient+Proxy.swift | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/AsyncHTTPClient/HTTPClient+Proxy.swift b/Sources/AsyncHTTPClient/HTTPClient+Proxy.swift index 16be51ca5..148a4e888 100644 --- a/Sources/AsyncHTTPClient/HTTPClient+Proxy.swift +++ b/Sources/AsyncHTTPClient/HTTPClient+Proxy.swift @@ -25,7 +25,7 @@ extension HTTPClient.Configuration { /// If a `TLSConfiguration` is used in conjunction with `HTTPClient.Configuration.Proxy`, /// TLS will be established _after_ successful proxy, between your client /// and the destination server. - public struct Proxy: NIOSendable { + public struct Proxy: NIOSendable, Hashable { enum ProxyType: Hashable { case http(HTTPClient.Authorization?) case socks