Add host and port to TlsOptions

This commit is contained in:
Rogier Schouten
2015-12-17 11:04:10 +01:00
parent 78ba6e4154
commit 725408f135
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -1535,6 +1535,8 @@ declare module "tls" {
var CLIENT_RENEG_WINDOW: number;
export interface TlsOptions {
host?: string;
port?: number;
pfx?: any; //string or buffer
key?: any; //string or buffer
passphrase?: string;