Skip to content

Commit b704b02

Browse files
authoredJan 21, 2024
feat(common): support secureOptions on https options
1 parent d6a6f30 commit b704b02

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.