File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed
Sources/OpenAPIURLSession
Tests/OpenAPIURLSessionTests Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,15 @@ public struct URLSessionTransport: ClientTransport {
69
69
/// Creates a new configuration with the provided session.
70
70
/// - Parameters:
71
71
/// - session: The URLSession used for performing HTTP operations.
72
- /// If none is provided, the system uses the shared URLSession.
72
+ /// If none is provided, the system uses the shared URLSession.
73
73
/// - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
74
74
public init ( session: URLSession = . shared, httpBodyProcessingMode: HTTPBodyProcessingMode = . platformDefault) {
75
75
let implementation = httpBodyProcessingMode. implementation
76
76
self . init ( session: session, implementation: implementation)
77
77
}
78
78
/// Creates a new configuration with the provided session.
79
79
/// - Parameter session: The URLSession used for performing HTTP operations.
80
- /// If none is provided, the system uses the shared URLSession.
80
+ /// If none is provided, the system uses the shared URLSession.
81
81
public init ( session: URLSession ) { self . init ( session: session, implementation: . platformDefault) }
82
82
/// Specifies the mode in which HTTP request and response bodies are processed.
83
83
public struct HTTPBodyProcessingMode : Sendable {
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ import HTTPTypes
18
18
import NIO
19
19
import OpenAPIRuntime
20
20
import XCTest
21
- import NIOHTTP1
22
21
@testable import OpenAPIURLSession
23
22
24
23
enum CancellationPoint : CaseIterable {
You can’t perform that action at this time.
0 commit comments