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

Support raw Notifications #2

Open
gaffneyc opened this issue Dec 11, 2019 · 0 comments
Open

Support raw Notifications #2

gaffneyc opened this issue Dec 11, 2019 · 0 comments

Comments

@gaffneyc
Copy link
Member

SNS will send the full message as the body of the notification and include some information as header fields. Will need to look for the x-amz-sns-rawdelivery header being set to true.

Main question is: should raw messages be treated as binary? Or are they still strings? If they're strings we can just the Message field otherwise I'm tempted to add a Raw() ([]byte, bool) method that returns the raw data and true for raw messages.

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