File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
Sources/OpenAPIURLSession Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -69,13 +69,15 @@ public struct URLSessionTransport: ClientTransport {
6969 /// Creates a new configuration with the provided session.
7070 /// - Parameters:
7171 /// - session: The URLSession used for performing HTTP operations.
72+ /// If none is provided, the system uses the shared URLSession.
7273 /// - httpBodyProcessingMode: The mode used to process HTTP request and response bodies.
7374 public init ( session: URLSession = . shared, httpBodyProcessingMode: HTTPBodyProcessingMode = . platformDefault) {
7475 let implementation = httpBodyProcessingMode. implementation
7576 self . init ( session: session, implementation: implementation)
7677 }
7778 /// Creates a new configuration with the provided session.
7879 /// - Parameter session: The URLSession used for performing HTTP operations.
80+ /// If none is provided, the system uses the shared URLSession.
7981 public init ( session: URLSession ) { self . init ( session: session, implementation: . platformDefault) }
8082 /// Specifies the mode in which HTTP request and response bodies are processed.
8183 public struct HTTPBodyProcessingMode : Sendable {
You can’t perform that action at this time.
0 commit comments