Registry / http-client / play-ws-2-10

play-ws-2-10

JSON →
library2.4.11javamavenunverified

Play WS is an HTTP client library for the Play Framework, providing asynchronous HTTP requests.

<dependency> <groupId>com.typesafe.play</groupId> <artifactId>play-ws_2.10</artifactId> <version>2.4.11</version> </dependency>
INSTALL
IMPORT
SIG · PLAY-WS-2-10
P
play-ws-2-10
http-clientjavav2.4.11
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.

WSClient
play.api.libs.ws.WSClient

Use WSClient to make an HTTP GET request.

import play.api.libs.ws.WSClient import scala.concurrent.Future class Example(ws: WSClient) { def fetch(): Future[String] = { ws.url("http://example.com").get().map(_.body) } }
Debug
Known issues
breakingThis artifact is for Scala 2.10, which is outdated and no longer supported.
fix
Upgrade to a newer Scala version and use the corresponding play-ws artifact (e.g., play-ws_2.13).
affects: all versions
Upgrade
Version history
2.4.11latest on Maven
Audit
Dependencies

No dependency data recorded yet.

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