Skip to content

Commit 7595799

Browse files
authoredJan 23, 2024
Merge pull request #13075 from micalevisk/patch-1
feat(common): support `secureOptions` on https options
2 parents a99cef9 + b704b02 commit 7595799

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed
 

‎packages/common/interfaces/external/https-options.interface.ts

+6
Original file line numberDiff line numberDiff line change
@@ -96,4 +96,10 @@ export interface HttpsOptions {
9696
* the default callback with high-level API will be used.
9797
*/
9898
SNICallback?: (servername: string, cb: (err: Error, ctx: any) => any) => any;
99+
/**
100+
* Optionally affect the OpenSSL protocol behavior, which is not usually necessary.
101+
* This should be used carefully if at all! Value is a numeric bitmask of the SSL_OP_* options
102+
* from OpenSSL Options.
103+
*/
104+
secureOptions?: number;
99105
}

0 commit comments

Comments
 (0)
Please sign in to comment.