summaryrefslogtreecommitdiff
path: root/DomainDig/RedirectChainService.swift
diff options
context:
space:
mode:
authorChristian Cleberg <[email protected]>2026-04-03 19:04:08 -0500
committerChristian Cleberg <[email protected]>2026-04-03 19:04:08 -0500
commit21576b75478e2a1ff7a2b189e83bcca97403cce3 (patch)
tree33834c3269b9640af7e93897875f5a6ce896ef46 /DomainDig/RedirectChainService.swift
parent253e57bd3ba31ef533a904be84d43c8103ba81b4 (diff)
downloaddomain-dig-21576b75478e2a1ff7a2b189e83bcca97403cce3.tar.gz
domain-dig-21576b75478e2a1ff7a2b189e83bcca97403cce3.tar.bz2
domain-dig-21576b75478e2a1ff7a2b189e83bcca97403cce3.zip
fix(services): rename unused URLSession delegate params to _v1.7.1
Diffstat (limited to 'DomainDig/RedirectChainService.swift')
-rw-r--r--DomainDig/RedirectChainService.swift8
1 files changed, 4 insertions, 4 deletions
diff --git a/DomainDig/RedirectChainService.swift b/DomainDig/RedirectChainService.swift
index 7a23a5e..541e118 100644
--- a/DomainDig/RedirectChainService.swift
+++ b/DomainDig/RedirectChainService.swift
@@ -70,10 +70,10 @@ struct RedirectChainService {
private final class NoRedirectDelegate: NSObject, URLSessionTaskDelegate, @unchecked Sendable {
func urlSession(
- _ session: URLSession,
- task: URLSessionTask,
- willPerformHTTPRedirection response: HTTPURLResponse,
- newRequest request: URLRequest,
+ _ _: URLSession,
+ task _: URLSessionTask,
+ willPerformHTTPRedirection _: HTTPURLResponse,
+ newRequest _: URLRequest,
completionHandler: @escaping (URLRequest?) -> Void
) {
// Don't follow redirects automatically — return nil to stop