Skip to content

Commit 0954abc

Browse files
authored
[doc] Add clarification for http{,s}.request() options (#1773)
1 parent 88d0345 commit 0954abc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

doc/ws.md

+2
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,8 @@ This class represents a WebSocket. It extends the `EventEmitter`.
255255
depending on the `protocolVersion`.
256256
- `maxPayload` {Number} The maximum allowed message size in bytes.
257257
- Any other option allowed in [http.request()][] or [https.request()][].
258+
Options given do not have any effect if parsed from the URL given with the
259+
`address` parameter.
258260

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

0 commit comments

Comments
 (0)