Package-level declarations
Types
Link copied to clipboard
typealias ChallengeHandler = (<Error class: unknown class>, <Error class: unknown class>, <Error class: unknown class>, completionHandler: (<Error class: unknown class>, <Error class: unknown class>?) -> Unit) -> Unit
A challenge handler type for NSURLSession.
Link copied to clipboard
Link copied to clipboard
object DarwinLegacy
A Kotlin/Native client engine that targets Darwin-based operating systems (such as macOS, iOS, tvOS, and so on) and uses NSURLSession
internally.
Link copied to clipboard
A configuration for the DarwinLegacy client engine.
Link copied to clipboard
A delegate for NSURLSession that bridges it to Ktor. If users set custom session in DarwinLegacyClientEngineConfig.sessionAndDelegate, they need to register this delegate in their session. This can be done by registering it directly, extending their custom delegate from it or by calling required methods from their custom delegate.
Functions
Link copied to clipboard
Creates an instance of KtorLegacyNSURLSessionDelegate