Skip to content

Instantly share code, notes, and snippets.

final class NetworkManager {
let baseURL: String
private var session = URLSession(configuration: URLSessionConfiguration.default,
delegate: nil,
delegateQueue: nil)
private let queue = DispatchQueue(label: "com.organization.network-manager", attributes: .concurrent)