Function: signPush()
signPush(
secret,taskId,attempt,tsMs,body):string
Defined in: sdk/ts/sdk/src/host/worker/signature.ts:32
Signs a push: v1= + HMAC-SHA256 over taskId.attempt.tsMs.sha256(body), hex. The dispatcher's HTTP transport calls this; a custom transport signs the same way.
Parameters
secret
string
taskId
string
attempt
number
tsMs
number
body
string
Returns
string