webhooks icon indicating copy to clipboard operation
webhooks copied to clipboard

Allow parsing non-HTTP payloads (#1)

Open marcinwyszynski opened this issue 5 years ago • 1 comments

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! 🙇🙇🙇

marcinwyszynski avatar Jun 12 '19 10:06 marcinwyszynski

Awesome @marcinwyszynski !

Apologies for not commenting sooner, please give me some time to look it over, not a lot of free time ATM

deankarn avatar Jul 10 '19 15:07 deankarn