Registry / http-client / play-ahc-ws-2-11

play-ahc-ws-2-11

JSON →
library2.7.9javamavenunverified

Play-AHC-WS is an Async HTTP Client WebSocket library for the Play Framework, providing non-blocking HTTP and WebSocket communication.

<dependency> <groupId>com.typesafe.play</groupId> <artifactId>play-ahc-ws_2.11</artifactId> <version>2.7.9</version> </dependency>
INSTALL
IMPORT
SIG · PLAY-AHC-WS-2-11
P
play-ahc-ws-2-11
http-clientjavav2.7.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

AhcWSClient
✓ play.api.libs.ws.ahc.AhcWSClient

Minimal example creating an AhcWSClient instance for making HTTP requests.

import play.api.libs.ws.ahc.AhcWSClient; import play.api.libs.ws.WSClient; import akka.actor.ActorSystem; public class Quickstart { public static void main(String[] args) { ActorSystem system = ActorSystem.create(); WSClient ws = AhcWSClient(system); // Use ws.url(...) to make requests ws.close(); } }
Debug
Known issues
breakingThis version targets Scala 2.11, which is outdated and may have compatibility issues with newer Play Framework versions.
fix
Upgrade to a version targeting Scala 2.12 or 2.13, or use the standalone play-ws library.
affects: <=2.7.9
Upgrade
Version history
2.7.9latest on Maven
Audit
Dependencies

No dependency data recorded yet.

Agent activity
16 hits · last 30 days
node
14
Resources
play-ahc-ws-2-11 — mvn dependency:get play-ahc-ws-2-11 · libregistry