You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Sources/async-http-client/proxy/http/Configuration.swift
+18-2Lines changed: 18 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -46,9 +46,8 @@ public extension Http{
46
46
/// - writer: Writer
47
47
/// - baseURL: Base URL
48
48
/// - sessionConfiguration: A configuration object that defines behavior and policies for a URL session
49
-
/// - sessionDelegate: A protocol that defines methods that URL session instances call on their delegates to handle session-level events, like session life cycle changes
49
+
/// - delegate: A protocol that defines methods that URL session instances call on their delegates to handle session-level events, like session life cycle changes
50
50
/// - queue: A queue that regulates the execution of operations
51
-
/// - taskDelegate: A protocol that defines methods that URL session instances call on their delegates to handle task-level events
52
51
publicinit(
53
52
reader:R,
54
53
writer:W,
@@ -94,4 +93,21 @@ public extension Http.Configuration where R == JsonReader, W == JsonWriter {
94
93
self.baseURL = baseURL
95
94
self.session =URLSession.shared
96
95
}
96
+
97
+
/// - Parameters:
98
+
/// - baseURL: Base URL
99
+
/// - sessionConfiguration: A configuration object that defines behavior and policies for a URL session
100
+
/// - delegate: A protocol that defines methods that URL session instances call on their delegates to handle session-level events, like session life cycle changes
101
+
/// - queue: A queue that regulates the execution of operations
0 commit comments