We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cb90876 commit e6bbbd7Copy full SHA for e6bbbd7
types/lib/Server.d.ts
@@ -1347,13 +1347,25 @@ declare class Server<
1347
* @param {NextFunction} next
1348
*/
1349
private setHeaders;
1350
+ /**
1351
+ * @private
1352
+ * @param {string} value
1353
+ * @returns {boolean}
1354
+ */
1355
+ private isHostAllowed;
1356
/**
1357
* @private
1358
* @param {{ [key: string]: string | undefined }} headers
1359
* @param {string} headerToCheck
1360
* @returns {boolean}
1361
- private checkHeader;
1362
+ private isValidHost;
1363
1364
1365
+ * @param {{ [key: string]: string | undefined }} headers
1366
1367
1368
+ private isSameOrigin;
1369
1370
* @param {ClientConnection[]} clients
1371
* @param {string} type
0 commit comments