Convenient factory method that uses a WSClientConfig value for configuration instead of an org.asynchttpclient.AsyncHttpClientConfig.
Convenient factory method that uses a WSClientConfig value for configuration instead of an org.asynchttpclient.AsyncHttpClientConfig.
Typical usage:
val client = AhcWSClient() val request = client.url(someUrl).get() request.foreach { response => doSomething(response) client.close() }
configuration settings