webhooks
webhooks copied to clipboard
Allow parsing non-HTTP payloads (#1)
Hey there, thanks for working on this! 🙇🙇🙇
I have a use case where webhooks are hitting AWS Gateway and are ultimately pushed to an SQS queue that my application can handle asynchronously. This is useful to separate receiving and processing routines, as well as simplifies development because you no longer have to expose your local server to the Internet.
In order to use your excellent library with this approach, I split out the processing bit from Parse
methods into ParsePayload
ones, and made Parse
methods use those to keep the API the same (and avoid writing extra tests 😂).
Please let me know if I can be of any further assistance and thanks again! 🙇🙇🙇
Awesome @marcinwyszynski !
Apologies for not commenting sooner, please give me some time to look it over, not a lot of free time ATM