outdated documentation part <https://ktor.io/clien...
# ktor
n
outdated documentation part https://ktor.io/clients/http-client.html#cio
Copy code
val client = HttpClient(CIO.config { 
    maxConnectionsCount = 1000 // Maximum number of socket connections.
    endpointConfig = EndpointConfig().apply {
        maxConnectionsPerRoute = 100 // Maximum number of requests for a specific endpoint route.
        pipelineMaxSize = 20 // Max number of opened endpoints.
        keepAliveTime = 5000 // Max number of milliseconds to keep each connection alive.
        connectTimeout = 5000 // Number of milliseconds to wait trying to connect to the server.
        connectRetryAttempts = 5 // Maximum number of attempts for retrying a connection.
    }
})
endpointConfig - Unable to resolve if I understand correctly this line must be replaced to:
endpoint.apply {
1
📝 1
c
^^ @Deactivated User
d
ok