File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed
Sources/OpenAPIURLSession Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ public struct URLSessionTransport: ClientTransport {
75
75
self . init ( session: session, implementation: implementation)
76
76
}
77
77
/// Specifies the mode in which HTTP request and response bodies are processed.
78
-
78
+
79
79
public struct HTTPBodyProcessingMode : Sendable {
80
80
/// Exposing the internal implementation directly.
81
81
fileprivate let implementation : Configuration . Implementation
@@ -95,7 +95,6 @@ public struct URLSessionTransport: ClientTransport {
95
95
}
96
96
97
97
var implementation : Implementation
98
-
99
98
init ( session: URLSession = . shared, implementation: Implementation = . platformDefault) {
100
99
self . session = session
101
100
if case . streaming = implementation {
@@ -111,7 +110,9 @@ public struct URLSessionTransport: ClientTransport {
111
110
112
111
/// Creates a new URLSession-based transport.
113
112
/// - Parameter configuration: A set of configuration values used by the transport.
114
- public init ( configuration: Configuration = . init( httpBodyProcessingMode: . platformDefault) ) { self . configuration = configuration }
113
+ public init ( configuration: Configuration = . init( httpBodyProcessingMode: . platformDefault) ) {
114
+ self . configuration = configuration
115
+ }
115
116
116
117
/// Sends the underlying HTTP request and returns the received HTTP response.
117
118
/// - Parameters:
You can’t perform that action at this time.
0 commit comments