KtorRestClient

constructor(    host: String = "localhost",     port: Int = 9200,     https: Boolean = false,     user: String? = null,     password: String? = null,     logging: Boolean = false,     elasticApiKey: String? = null,     client: HttpClient = defaultKtorHttpClient( logging = logging, user = user, password = password, elasticApiKey = elasticApiKey ) { defaultInit(logging, user, password, elasticApiKey) })
constructor(    vararg nodes: Node = arrayOf( Node( "localhost", 9200 ) ),     https: Boolean = false,     user: String? = null,     password: String? = null,     logging: Boolean = false,     nodeSelector: NodeSelector = RoundRobinNodeSelector(nodes),     elasticApiKey: String? = null,     client: HttpClient = defaultKtorHttpClient( logging = logging, user = user, password = password, elasticApiKey = elasticApiKey ) { defaultInit(logging, user, password, elasticApiKey) })