mirror of
https://github.com/nodejs/node.git
synced 2025-08-15 13:48:44 +02:00
lib: update params in jsdoc for HTTPRequestOptions
PR-URL: https://github.com/nodejs/node/pull/49872 Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
This commit is contained in:
parent
c935d4c8fa
commit
6aa7101960
2 changed files with 4 additions and 0 deletions
|
@ -76,6 +76,7 @@ function createServer(opts, requestListener) {
|
|||
* @property {string} [host] A domain name or IP address of the server to issue the request to.
|
||||
* @property {string} [hostname] Alias for host.
|
||||
* @property {boolean} [insecureHTTPParser] Use an insecure HTTP parser that accepts invalid HTTP headers when true.
|
||||
* @property {boolean} [joinDuplicateHeaders] Multiple header that joined with `,` field line values.
|
||||
* @property {string} [localAddress] Local interface to bind for network connections.
|
||||
* @property {number} [localPort] Local port to connect from.
|
||||
* @property {Function} [lookup] Custom lookup function. Default: dns.lookup().
|
||||
|
@ -88,6 +89,7 @@ function createServer(opts, requestListener) {
|
|||
* @property {AbortSignal} [signal] An AbortSignal that may be used to abort an ongoing request.
|
||||
* @property {string} [socketPath] Unix domain socket.
|
||||
* @property {number} [timeout] A number specifying the socket timeout in milliseconds.
|
||||
* @property {Array} [uniqueHeaders] A list of request headers that should be sent only once.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue