Package

play.api.libs

ws

Permalink

package ws

Visibility
  1. Public
  2. All

Type Members

  1. trait WSClient extends Closeable

    Permalink

    A Play specific WS client that can use Play specific classes in the request and response building.

    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.

    class MyService @Inject()(ws: WSClient) {
      val response: Future[WSResponse] = ws.url("http://example.com").get()
    }

    Please see the documentation at https://www.playframework.com/documentation/latest/ScalaWS for more details.

  2. trait WSRequest extends StandaloneWSRequest

    Permalink

    A WS Request builder.

  3. trait WSResponse extends StandaloneWSResponse

    Permalink

    A WS Response that can use Play specific classes.

Ungrouped