expressjs / timeout

Request timeout middleware for Connect/Express

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

How to change timeout response?

marciomansur opened this issue · comments

The timeout is working, but I can't log and response the users that way. I need to send a response in my way.

Hou can I do this using the module?

Hi! This module never actually writes a response, only raises an error. You can write your own response by implementing your own Express.js error handler. You can find the guide on error handling at http://expressjs.com/guide/error-handling.html