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-Deliveryheadersignature_sha1: value ofX-Hub-Signatureheadersignature_sha256: value ofX-Hub-Signature-256headerbytes: raw body of the requestjson: body of the request in json form