Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Interceptors: Get access to the Request object from out() method #246

Open
fiunchinho opened this issue Aug 3, 2015 · 0 comments
Open

Comments

@fiunchinho
Copy link

Hey!
I'd like to log every request served by karyon, creating an 'Apache like' access log. I thought that creating an interceptor for this would be a good approach, but then realize that the out() method only receives the HttpServerResponse object as parameter. I'd like to access the HttpServerRequest too, so I could log data from both the request and the response.
How can I get this working? Is there a better approach for this?

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant