Skip to content

Commit 31098a4

Browse files
Trottrichardlau
authored andcommitted
doc: make minor improvements to query string sentence in http2.md
PR-URL: #34929 Reviewed-By: Denys Otrishko <[email protected]> Reviewed-By: Ricky Zhou <[email protected]>
1 parent 8aac42c commit 31098a4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http2.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -3113,9 +3113,9 @@ Url {
31133113
href: '/status?name=ryan' }
31143114
```
31153115

3116-
To extract the parameters from the query string, the
3117-
`require('querystring').parse` function can be used, or
3118-
`true` can be passed as the second argument to `require('url').parse`.
3116+
To obtain the parameters from the query string, use the
3117+
`require('querystring').parse()` function or pass
3118+
`true` as the second argument to `require('url').parse()`.
31193119

31203120
```console
31213121
$ node

0 commit comments

Comments
 (0)