shot icon indicating copy to clipboard operation
shot copied to clipboard

Shot should provide a timeout option

Open damusix opened this issue 1 year ago • 0 comments

Runtime

any

Runtime version

any

Module version

any

Used with

Hapi

Any other relevant information

No response

What problem are you trying to solve?

When testing an endpoint that returns h.abandon, or whenever benchmarking an endpoint, I currently have to write some code to detect if an endpoint takes longer than x amount of time.

It would be very useful to include a timeout option that, when included, times the request out if it takes longer than x amount of time.

Do you have a new or modified API suggestion to solve the problem?

No response

damusix avatar Aug 20 '24 23:08 damusix