mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-09-09 11:13:57 +08:00
Add host and port to TlsOptions
This commit is contained in:
Vendored
+2
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user