trait WSClient extends Closeable
Ordering
- Alphabetic
- By Inheritance
Inherited
- WSClient
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Abstract Value Members
- abstract def close(): Unit
Closes this client, and releases underlying resources.
Closes this client, and releases underlying resources.
- Definition Classes
- WSClient → Closeable → AutoCloseable
- Annotations
- @throws(scala.this.throws.<init>$default$1[java.io.IOException])
- abstract def underlying[T]: T
The underlying implementation of the client, if any.
The underlying implementation of the client, if any. You must cast explicitly to the type you want.
- T
the type you are expecting (i.e. isInstanceOf)
- returns
the backing class.
- abstract def url(url: String): WSRequest
Generates a request.
Generates a request.
- url
The base URL to make HTTP requests to.
- returns
a request
A Play specific WS client that can use Play specific classes in the request and response building.
Typically, access this class through dependency injection, i.e.
Please see the documentation at https://www.playframework.com/documentation/latest/ScalaWS for more details.