Skip to content

Commit 0695e24

Browse files
Trottaddaleax
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 3c4abe0 commit 0695e24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/api/http2.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3073,9 +3073,9 @@ Url {
30733073
href: '/status?name=ryan' }
30743074
```
30753075

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

30803080
```console
30813081
$ node

0 commit comments

Comments
 (0)