Methods
setWebhookMiddleware(uri, middleware)
- Description:
Set middleware to catch webhooks
- Source:
Parameters:
Name | Type | Description |
---|---|---|
uri |
string | url catch for middlware |
middleware |
object | middleware |
start() → {Promise}
- Description:
Start listening on
PORT
- Source:
Returns:
- Type
- Promise
(async) stop() → {Promise}
- Description:
Stop listening on
PORT
- Source:
Returns:
- Type
- Promise