floraison / flack

a Rack app for the flor workflow engine
MIT License
11 stars 4 forks source link

Introduce the 'reply' POST message #12

Closed jfrioux closed 7 years ago

jfrioux commented 7 years ago

Adds support for the 'reply' message. Relates to #5

Use case: in our implementation, a WebTasker sends an HTTP message to a remote system, and awaits for a response. That system will eventually reply back with a properly built message, containing the WebTasker's payload.

Since reply is an alias for return, I chose reply. IMO, it feels clearer from the standpoint of a remote service to "reply" back to Flor.

Please let me know if this suits you or if there's anything to adjust.

jmettraux commented 7 years ago

Thanks a lot! Makes good sense it seems.