Skip to content

Commit 64ff430

Browse files
authored
Add Hashable conformace to HTTPClient.Configuration.Proxy (#634)
1 parent b57bcb9 commit 64ff430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Sources/AsyncHTTPClient/HTTPClient+Proxy.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ extension HTTPClient.Configuration {
2525
/// If a `TLSConfiguration` is used in conjunction with `HTTPClient.Configuration.Proxy`,
2626
/// TLS will be established _after_ successful proxy, between your client
2727
/// and the destination server.
28-
public struct Proxy: NIOSendable {
28+
public struct Proxy: NIOSendable, Hashable {
2929
enum ProxyType: Hashable {
3030
case http(HTTPClient.Authorization?)
3131
case socks

0 commit comments

Comments
 (0)