We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9fd56c1 commit 1a685fcCopy full SHA for 1a685fc
Sources/OpenAPIURLSession/URLSessionTransport.swift
@@ -99,14 +99,14 @@ public struct URLSessionTransport: ClientTransport {
99
}
100
101
var implementation: Implementation
102
+
103
init(session: URLSession = .shared, implementation: Implementation = .platformDefault) {
104
self.session = session
105
if case .streaming = implementation {
106
precondition(Implementation.platformSupportsStreaming, "Streaming not supported on platform")
107
108
self.implementation = implementation
109
-
110
111
112
/// A set of configuration values used by the transport.
0 commit comments