DarwinLegacyClientEngineConfig
Deprecated
DarwinLegacy engine is deprecated. Consider using DarwinClientEngineConfig instead.
Replace with
import io.ktor.client.engine.darwin.DarwinClientEngineConfig
DarwinClientEngineConfigA configuration for the DarwinLegacy client engine.
Properties
Handles the challenge of HTTP responses NSURLSession.
Specifies a session to use for making HTTP requests.
A request configuration.
A session configuration.
Functions
Appends a block with the NSMutableURLRequest configuration to requestConfig.
Appends a block with the NSURLSessionConfiguration configuration to sessionConfig.
Sets the block as an HTTP request challenge handler replacing the old one.
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.
Set a session to be used to make HTTP requests. If the preconfigured session is set, configureSession and handleChallenge blocks will be ignored.