in DDRouter/DDRouter.swift [49:60]
func createEphemeralSession() -> URLSession {
// clone the current session config, then mutate as needed
// what's the go with this not handling errors
let ephemeralConfig = URLSessionConfiguration.ephemeral
if let sharedConfig = DDRouter.sharedSession?.configuration {
// copy separately protocol classes from current session config
ephemeralConfig.protocolClasses = sharedConfig.protocolClasses
}
return URLSession(configuration: ephemeralConfig)
}