From 08a0452fb2fe30344d068e695df415498f087bc8 Mon Sep 17 00:00:00 2001 From: DSiekmeier Date: Wed, 18 Jun 2025 13:05:23 +0200 Subject: [PATCH] Update README.md (#2156) According to the curl manpage, the option is called "--max-time". --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index e85f9bc..0aa7312 100644 --- a/README.md +++ b/README.md @@ -671,7 +671,7 @@ cli.set_connection_timeout(0, 300000); // 300 milliseconds cli.set_read_timeout(5, 0); // 5 seconds cli.set_write_timeout(5, 0); // 5 seconds -// This method works the same as curl's `--max-timeout` option +// This method works the same as curl's `--max-time` option svr.set_max_timeout(5000); // 5 seconds ```