-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Fire request is the request that not waiting for response. Is just fire and forget.
Example of server middleware for fire.
app.notify(['/user/status/online'], (req, nothing, next) => {
let data = req.body
db.findUserByIdAndUpdate(req.user.id, { status: data.status })
res.send(); // no params
})Metadata
Metadata
Assignees
Labels
No labels