hlian / linklater

A Haskell library for the Slack API (including real-time messaging!)
BSD 3-Clause "New" or "Revised" License
79 stars 11 forks source link

Adding the full body of the request to the Command type #14

Closed domdere closed 5 years ago

domdere commented 5 years ago

The full original body is required to compute the signature of the command as described here, but since the body is given by a lazy stream, only one layer of middleware can read it...

This way the user can optionally compute the signature if they want to have some privacy on their slash command.

I also added the response url to the command type just because it would be handy

hlian commented 5 years ago

👍

domdere commented 5 years ago

Thanks 😂, so when do you think this is going to get pushed to hackage?