AckeeCZ / Reqres

Simple network activity logger for iOS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Do not use new session for sending requests

olejnjak opened this issue · comments

When we catching sent requests we should not use new session. This would require proper implementation of URLProtocol and until this issue is resolved we should consider Reqres to be a debug tool that should not be used in production.

let session = URLSession(configuration: .default, delegate: Reqres.sessionDelegate ?? self, delegateQueue: nil)