Showing content from https://www.playframework.com/documentation/2.5.x/api/scala/play/api/libs/ws/WSRequest.html below:
WSRequest - play.api.libs.ws.WSRequest
abstract val auth: Option[(String, String, WSAuthScheme)]
The authentication this request should use
abstract val body: WSBody
The body of this request
abstract val calc: Option[WSSignatureCalculator]
A calculator of the signature for this request
abstract def execute(): Future[WSResponse]
Execute this request
abstract val followRedirects: Option[Boolean]
Whether this request should follow redirects
abstract val headers: Map[String, Seq[String]]
The headers for this request
abstract val method: String
The method for this request
abstract val proxyServer: Option[WSProxyServer]
The proxy server this request will use
abstract val queryString: Map[String, Seq[String]]
The query string for this request
abstract val requestTimeout: Option[Int]
The timeout for the request
abstract def sign(calc: WSSignatureCalculator): WSRequest
sets the signature calculator for the request
abstract def stream(): Future[StreamedResponse]
Execute this request and stream the response body.
abstract val url: String
The base URL for this request
abstract val virtualHost: Option[String]
The virtual host this request will use
abstract def withAuth(username: String, password: String, scheme: WSAuthScheme): WSRequest
sets the authentication realm
abstract def withBody(body: WSBody): WSRequest
Sets the body for this request
abstract def withFollowRedirects(follow: Boolean): WSRequest
Sets whether redirects (301, 302) should be followed automatically
abstract def withHeaders(hdrs: (String, String)*): WSRequest
adds any number of HTTP headers
abstract def withMethod(method: String): WSRequest
Sets the method for this request
abstract def withProxyServer(proxyServer: WSProxyServer): WSRequest
Sets the proxy server to use in this request
abstract def withQueryString(parameters: (String, String)*): WSRequest
adds any number of query string parameters to this request
abstract def withRequestFilter(filter: WSRequestFilter): WSRequest
Adds a filter to the request that can transform the request for subsequent filters.
abstract def withRequestTimeout(timeout: Duration): WSRequest
Sets the maximum time you expect the request to take.
abstract def withVirtualHost(vh: String): WSRequest
Sets the virtual host to use in this request
abstract def streamWithEnumerator(): Future[(WSResponseHeaders, Enumerator[Array[Byte]])]
Execute this request and stream the response body.
RetroSearch is an open source project built by @garambo
| Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4