Convenient factory method that uses a play.api.libs.ws.WSClientConfig value for configuration instead of an org.asynchttpclient.AsyncHttpClientConfig.
Convenient factory method that uses a play.api.libs.ws.WSClientConfig value for configuration instead of an org.asynchttpclient.AsyncHttpClientConfig.
Typical usage:
val client = StandaloneAhcWSClient() val request = client.url(someUrl).get() request.foreach { response => doSomething(response) client.close() }
configuration settings
if not null, will be used for HTTP response caching.
the akka materializer.