Skip to content

Commit

Permalink
[doc] Add clarification for http{,s}.request() options (#1773)
Browse files Browse the repository at this point in the history
  • Loading branch information
sa-linetco authored Jun 23, 2020
1 parent 88d0345 commit 0954abc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/ws.md
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,8 @@ This class represents a WebSocket. It extends the `EventEmitter`.
depending on the `protocolVersion`.
- `maxPayload` {Number} The maximum allowed message size in bytes.
- Any other option allowed in [http.request()][] or [https.request()][].
Options given do not have any effect if parsed from the URL given with the
`address` parameter.

`perMessageDeflate` default value is `true`. When using an object, parameters
are the same of the server. The only difference is the direction of requests.
Expand Down

0 comments on commit 0954abc

Please sign in to comment.