Skip to content

Commit

Permalink
doc: add http.ClientRequest maxHeadersCount
Browse files Browse the repository at this point in the history
In http.ClientRequest's doc, add maxHeadersCount as a public property.
And in the description of server's one, change a hyphen to a comma.
  • Loading branch information
darai0512 committed Apr 28, 2018

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
1 parent a1fc528 commit 11bb62d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/api/http.md
Original file line number Diff line number Diff line change
@@ -608,6 +608,12 @@ const setCookie = request.getHeader('set-cookie');

```

### request.maxHeadersCount

* {number} **Default:** `2000`

Limits maximum response headers count. If set to 0, no limit will be applied.

### request.removeHeader(name)
<!-- YAML
added: v1.6.0
@@ -937,7 +943,7 @@ added: v0.7.0

* {number} **Default:** `2000`

Limits maximum incoming headers count. If set to 0 - no limit will be applied.
Limits maximum incoming headers count. If set to 0, no limit will be applied.

### server.setTimeout([msecs][, callback])
<!-- YAML

0 comments on commit 11bb62d

Please sign in to comment.