Companion
object Companion
Properties
Functions
Link copied to clipboard
Verifies a Resend webhook request's Svix signature, then decodes rawBody; the overload for Ktor's request Headers, for example verifyAndDecode(call.receiveText(), call.request.headers, secret).
fun verifyAndDecode(rawBody: String, headers: Map<String, String>, secret: String): ResendWebhookMsg