Run the given block of code with a client.
The client passed to the block of code supports absolute path relative URLs passed to the url method. If an absolute path relative URL is used, the protocol is assumed to be http, the host localhost, and the port is the implicit port parameter passed to this method. This is designed to work smoothly with the Server.with* methods, for example:
Server.withRouter() { case GET(p"/hello/$who") => Action(Ok("Hello " + who)) } { implicit port => withClient { ws => await(ws.url("/hello/world").get()).body must_== "Hello world" } }
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