play.api.libs.ws.WSRequestFilter
See theWSRequestFilter companion trait
Attributes
-
Companion
-
trait
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates an adhoc filter from a function:
Creates an adhoc filter from a function:
import play.api.libs.ws.{ WSRequestFilter, WSRequestExecutor }
val filter: WSRequestFilter = WSRequestFilter { e =>
WSRequestExecutor(r => e.apply(r.withQueryStringParameters("bed" -> "1")))
}
Value parameters
-
f
-
a function that returns executors
Attributes
-
Returns
-
a filter that calls the passed in function.