Update README.md (#2156)

According to the curl manpage, the option is called "--max-time".
This commit is contained in:
DSiekmeier authored and GitHub committed 2025-06-18 07:05:23 -04:00
1 parent 3a1f379e75
commit 08a0452fb2
1 file changed
+1 -1
+1 -1
View File
@@ -671,7 +671,7 @@ cli.set_connection_timeout(0, 300000); // 300 milliseconds
cli.set_read_timeout(5, 0); // 5 seconds cli.set_read_timeout(5, 0); // 5 seconds
cli.set_write_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 svr.set_max_timeout(5000); // 5 seconds
``` ```