File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -2116,7 +2116,7 @@ added: v0.4.0
21162116-->
21172117
21182118* ` name ` {string}
2119- * Returns: {any }
2119+ * Returns: {number | string | string \[ ] | undefined }
21202120
21212121Reads out a header that's already been queued but not sent to the client.
21222122The name is case-insensitive. The type of the return value depends
@@ -2251,7 +2251,7 @@ added: v0.4.0
22512251-->
22522252
22532253* ` name ` {string}
2254- * ` value ` {any }
2254+ * ` value ` {number | string | string \[ ] }
22552255* Returns: {http.ServerResponse}
22562256
22572257Returns the response object.
@@ -3202,7 +3202,7 @@ added: v0.4.0
32023202-->
32033203
32043204* ` name` {string} Name of header
3205- * Returns: {string | undefined}
3205+ * Returns: {number | string | string \[ ] | undefined}
32063206
32073207Gets the value of the HTTP header with the given name. If that header is not
32083208set, the returned value will be ` undefined ` .
@@ -3304,7 +3304,7 @@ added: v0.4.0
33043304-->
33053305
33063306* ` name` {string} Header name
3307- * ` value` {any } Header value
3307+ * ` value` {number | string | string \[ ] } Header value
33083308* Returns: {this}
33093309
33103310Sets a single header value. If the header already exists in the to-be-sent
You can’t perform that action at this time.
0 commit comments