Skip to content

Commit 8198f2b

Browse files
authored
TS HTTP timeout unit (#3434)
* correct HTTP timeout unit * correct HTTP timeout unit
1 parent 4dfcbe9 commit 8198f2b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/content/cre/guides/workflow/using-http-client/get-request-ts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,5 +383,5 @@ The request object provides several fields to customize your HTTP call. See the
383383

384384
- **Headers**: Custom HTTP headers
385385
- **Body**: Request payload (for POST, PUT, etc.)
386-
- **Timeout**: Request timeout in milliseconds
386+
- **Timeout**: Request timeout as a duration string in seconds (e.g., `"5s"`, `"8s"`)
387387
- **Cache settings**: Control response caching behavior

src/content/cre/llms-full-ts.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10495,7 +10495,7 @@ The request object provides several fields to customize your HTTP call. See the
1049510495

1049610496
- **Headers**: Custom HTTP headers
1049710497
- **Body**: Request payload (for POST, PUT, etc.)
10498-
- **Timeout**: Request timeout in milliseconds
10498+
- **Timeout**: Request timeout as a duration string in seconds (e.g., `"5s"`, `"8s"`)
1049910499
- **Cache settings**: Control response caching behavior
1050010500

1050110501
---

0 commit comments

Comments
 (0)