Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: delayed response #5

Open
vesse opened this issue Jun 6, 2023 · 1 comment
Open

Feature request: delayed response #5

vesse opened this issue Jun 6, 2023 · 1 comment

Comments

@vesse
Copy link

vesse commented Jun 6, 2023

It would be useful if one could configure the server to wait for specified amount of time before sending the response.

@jamonkko
Copy link
Owner

jamonkko commented Jun 7, 2023

Good idea 👍 I could add something like --response-delay=5000 with short -t 5000 notation to specify how many milliseconds to wait.
To improve the usability I might need to change it log the request as soon as possible when req body has been received and log the response (if you have response logging enabled) when actually responding after the delay.

A new feature every 2 years keeps module fresh :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants