URLSession

open fun URLSession(session: <Error class: unknown class>, dataTask: <Error class: unknown class>, didReceiveData: <Error class: unknown class>)
open fun URLSession(session: <Error class: unknown class>, task: <Error class: unknown class>, didCompleteWithError: <Error class: unknown class>?)


open fun URLSession(session: <Error class: unknown class>, task: <Error class: unknown class>, willPerformHTTPRedirection: <Error class: unknown class>, newRequest: <Error class: unknown class>, completionHandler: (<Error class: unknown class>?) -> Unit)

Disable embedded redirects.


open fun URLSession(session: <Error class: unknown class>, task: <Error class: unknown class>, didReceiveChallenge: <Error class: unknown class>, completionHandler: (<Error class: unknown class>, <Error class: unknown class>?) -> Unit)

Handle challenge.