Created
January 2, 2018 20:38
-
-
Save isterin/3758ec0600e4342551bfedd2f8f4795d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object Application { | |
def proxyRequest(req:ProxiedHttpRequest) { | |
val where = req.proxyServer | |
/* | |
Here I need access to original request being wrapped to get the headers This is ugly and I’d prefer to access it as I would a regular HttpRequest req.headers() | |
*/ | |
val headers = req.req.headers() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment