1
0
mirror of https://github.com/metabolist/metatext synced 2024-12-27 10:12:36 +01:00
metatext-app-ios-iphone-ipad/HTTP/Sources/Stubbing/URLSessionConfiguration+Extensions.swift
Justin Mazzocchi 5f96f59ac3
wip
2020-08-31 03:21:01 -07:00

14 lines
315 B
Swift

// Copyright © 2020 Metabolist. All rights reserved.
import Foundation
public extension URLSessionConfiguration {
static var stubbing: URLSessionConfiguration {
let configuration = Self.default
configuration.protocolClasses = [StubbingURLProtocol.self]
return configuration
}
}