AsyncHttpClientProvider
play.api.libs.ws.ahc.AsyncHttpClientProvider
@Singleton
class AsyncHttpClientProvider(environment: Environment, configuration: Configuration, applicationLifecycle: ApplicationLifecycle)(implicit executionContext: ExecutionContext) extends Provider[AsyncHttpClient]
Provides an instance of AsyncHttpClient configured from the Configuration object.
Value parameters
- applicationLifecycle
-
app lifecycle, instance is closed automatically.
- configuration
-
the Play configuration
- environment
-
the Play environment
Attributes
- Graph
-
- Supertypes
-
trait Provider[AsyncHttpClient]class Objecttrait Matchableclass Any
Members list
In this article