pub fn verify(
guid: Uuid,
signature_sha1: Option<String>,
signature_sha256: Option<String>,
bytes: Bytes,
json: &str,
) -> Result<GithubPayload, VerifyError>
Expand description
Verify and parse a github payload. Pass your parsed data from your web library for parsing and return errors.
ยงfields:
guid
: value ofX-GitHub-Delivery
headersignature_sha1
: value ofX-Hub-Signature
headersignature_sha256
: value ofX-Hub-Signature-256
headerbytes
: raw body of the requestjson
: body of the request in json form