You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
here config.protocolClasses something errors use? why not use protocolClasses_Swizzled
`@objc private class var default_swizzled: URLSessionConfiguration {
get {
let config = URLSessionConfiguration.default_swizzled
// Let's go ahead and add in NFXProtocol, since it's safe to do so.
config.protocolClasses?.insert(NFXProtocol.self, at: 0)
return config
}
}
@objc private class var ephemeral_swizzled: URLSessionConfiguration {
get {
let config = URLSessionConfiguration.ephemeral_swizzled
// Let's go ahead and add in NFXProtocol, since it's safe to do so.
config.protocolClasses?.insert(NFXProtocol.self, at: 0)
return config
}
}`
Describe the bug
when i used custom Session, set protocolClasses, it doesn't work.
The text was updated successfully, but these errors were encountered: