DarwinLegacyClientEngineConfig
A configuration for the DarwinLegacy client engine.
Constructors
Functions
Link copied to clipboard
Appends a block with the NSMutableURLRequest configuration to requestConfig.
Link copied to clipboard
Appends a block with the NSURLSessionConfiguration configuration to sessionConfig.
Link copied to clipboard
Sets the block as an HTTP request challenge handler replacing the old one.
Link copied to clipboard
Set a session to be used to make HTTP requests, null to create default session. If the preconfigured session is set, configureSession block will be ignored.
fun usePreconfiguredSession(session: <Error class: unknown class>, delegate: KtorLegacyNSURLSessionDelegate)
Set a session to be used to make HTTP requests. If the preconfigured session is set, configureSession and handleChallenge blocks will be ignored.