Builds a valid AsyncHttpClientConfig object from config.
Logs WSRequest and pulls information into Curl format to an SLF4J logger.
Useful mapping code.
Ahc client config.
This class creates a WSClientConfig object from configuration.
This class creates a WSClientConfig object from configuration.
A WS client backed by an AsyncHttpClient.
A WS client backed by an AsyncHttpClient.
If you need to debug AsyncHttpClient, add <logger name="play.shaded.ahc.org.asynchttpclient" level="DEBUG" /> into your conf/logback.xml file.
A Ahc WS Request.
A WS HTTP response backed by org.asynchttpclient.Response.
A streamed response containing a response header and a streamable body.
A streamed response containing a response header and a streamable body.
Note that this is only usable with a stream call, i.e.
class MyClass extends StreamedBodyReadable { ws.url("http://example.com").stream().map { response => val source = response.body[Source[ByteString, NotUsed]] ... } }
Converts between AHC cookie and the WS cookie.
Factory for creating AhcWSClientConfig, for use from Java.
Ahc client config.
The general WS client config.
The maximum number of connections to make per host. -1 means no maximum.
The maximum total number of connections. -1 means no maximum.
The maximum time that a connection should live for in the pool.
The time after which a connection that has been idle in the pool should be closed.
The maximum number of redirects.
The maximum number of times to retry a request if it fails.
Whether the raw URL should be used.
keeps thread pool active, replaces allowPoolingConnection and allowSslConnectionPool