Im using play2 and seem to do the following alot:
def someFunction(request: RequestHeader) = {...}
is there a way to implicitly define the request so that I don’t have to always pass it in to various functions that require having the request?
thanks.
You should use implicits, that way you dont have to pass the request explicitly.