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>, taskIsWaitingForConnectivity: <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>, webSocketTask: <Error class: unknown class>, didOpenWithProtocol: String?)
open fun URLSession(session: <Error class: unknown class>, webSocketTask: <Error class: unknown class>, didCloseWithCode: <Error class: unknown class>, reason: <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.