pistache
pistache copied to clipboard
Override Timeout in Router Handler
This issue follows issue #294, as it had never been answered.
In order to implement timeout on server side, you need to override the onTimeout()
function, as explained in the User Guide.
However, when using a router, we can't easily override the Timeout function as we have access to a Rest::Router
object, and not its handler directly.
How can I solve this issue and implement timeout on server side using a router ?