You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varWebHooks=require('node-webhooks')varInMemory=require('webhooks-memory-storage')varFileStorage=require('webhooks-file-storage')varwebHooks=newWebHooks({db: newInMemory(),// in-memory DB//db: new FileStorage('./webHooksDB.json'), // json file that store webhook URLs// redis, mongoDB, lokiJS, levelDB etc.});
WebHooks Storage Implementation
Every webHooks store must be an EventEmitter and implement specific methods. The following methods are the list of required, recommended, and optional.
Required methods are ones that this module will always call on the store.
Recommended methods are ones that this module will call on the store if available.
Optional methods are ones this module does not call at all, but helps present uniform stores to users.
The text was updated successfully, but these errors were encountered:
API Example
WebHooks Storage Implementation
Every webHooks store must be an EventEmitter and implement specific methods. The following methods are the list of required, recommended, and optional.
The text was updated successfully, but these errors were encountered: