Nail Gilaziev
04/23/2018, 5:08 PMval 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 {
cy
04/23/2018, 5:59 PMDeactivated User
04/23/2018, 5:59 PM