class InternalWSClient extends WSClient
Ordering
- Alphabetic
- By Inheritance
Inherited
- InternalWSClient
- WSClient
- Closeable
- AutoCloseable
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- Protected
Instance Constructors
- new InternalWSClient(scheme: String, port: WsTestClient.Port)
- scheme
the scheme to connect on ("http" or "https")
- port
the port to connect to the server on.
Value Members
- def close(): Unit
Closes this client, and releases underlying resources.
Closes this client, and releases underlying resources.
- Definition Classes
- → WSClient → Closeable → AutoCloseable
- 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.
- Definition Classes
- → WSClient
- def url(url: String): WSRequest
Generates a request.
Generates a request.
- url
The base URL to make HTTP requests to.
- returns
a request
- Definition Classes
- → WSClient
Creates a standalone WSClient, using its own ActorSystem and Netty thread pool.
This client has no dependencies at all on the underlying system, but is wasteful of resources.