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

Intercept HTTP Response #4

Closed
hboylan opened this issue Nov 28, 2016 · 1 comment
Closed

Intercept HTTP Response #4

hboylan opened this issue Nov 28, 2016 · 1 comment
Milestone

Comments

@hboylan
Copy link
Owner

hboylan commented Nov 28, 2016

Need a way to intercept the Response before object mapping occurs.

@Produces<User>((res: Response) => {
  if (res.headers.has('Bearer')) {
    // handle bearer token
  }
})
hboylan pushed a commit that referenced this issue Dec 12, 2016
@hboylan
Copy link
Owner Author

hboylan commented Dec 12, 2016

Added with v0.0.3

@hboylan hboylan closed this as completed Dec 12, 2016
@hboylan hboylan added this to the 1.0.0 milestone Jul 11, 2017
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