Hierarchy

  • Webhook

Constructors

Properties

Methods

Constructors

Properties

Methods

  • Parameters

    • fn: ((payload, req?, res?, next?) => void | Promise<void>)
        • (payload, req?, res?, next?): void | Promise<void>
        • Parameters

          • payload: WebhookPayload
          • Optional req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
          • Optional res: Response<any, Record<string, any>>
          • Optional next: NextFunction

          Returns void | Promise<void>

    Returns ((req, res, next) => Promise<void>)

      • (req, res, next): Promise<void>
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns Promise<void>

  • Returns ((req, res, next) => Promise<void>)

      • (req, res, next): Promise<void>
      • Parameters

        • req: Request<ParamsDictionary, any, any, ParsedQs, Record<string, any>>
        • res: Response<any, Record<string, any>>
        • next: NextFunction

        Returns Promise<void>

Generated using TypeDoc