Hook::Echo
Constants
MAX_PAYLOAD = 2 ** 20
you should probably always put an upperbound on how much data your application is willing to read into memory
SIGNATURE_HEADER = "X-FP-Webhook-Signature-Hmac-Sha-256"
this is the header that stores the signature flowplayer generates to verify that it hasn't been tampered with in the middle
SIGNING_SECRET = ENV["FLOWPLAYER_WEBHOOK_SECRET"]
fetch the signing secret from environment variables
VERSION = "0.1.0"
Class methods
accept(context)
Sourcerun
Source