whatsapp-api-js - v5.2.0
    Preparing search index...

    Class WhatsAppAPIMissingCryptoSubtleError

    Thrown when the crypto.subtle API isn't available in the current environment

    The crypto.subtle API is required to verify the signature of the incoming requests. However, it isn't available in all environments. If your environment doesn't support it, you can provide a ponyfill for it in the ponyfill.subtle option of the WhatsAppAPI constructor.

    new WhatsAppAPI({
    appSecret: "your-app-secret",
    ponyfill: {
    subtle: my_custom_crypto.subtle
    },
    // other options
    });

    Hierarchy (View Summary)

    Index

    Properties

    Accessors

    Methods

    Properties

    httpStatus: number

    The HTTP status code of the error

    Accessors

    • get docs(): string

      Returns string

    Methods