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

What type of request objects are expected? #54

Open
lastmjs opened this issue Apr 28, 2016 · 2 comments
Open

What type of request objects are expected? #54

lastmjs opened this issue Apr 28, 2016 · 2 comments

Comments

@lastmjs
Copy link

lastmjs commented Apr 28, 2016

I'm having trouble understanding what type of request objects are expected. I'm using express, and the body-parser middleware, but my signatures are being signed incorrectly. It would be nice if the expected request object format were documented. Are these just basic node request objects?

@omsmith
Copy link
Owner

omsmith commented May 6, 2016

It should support plain node IncomingMessage (be sure to pass both req, and body), express requests, and hapi requests.

Happy to accept a docs PR if you're able

@lastmjs
Copy link
Author

lastmjs commented May 6, 2016

I'll take care of it, thanks.

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

No branches or pull requests

2 participants