Skip to content

Commit

Permalink
Update lib.deno.unstable.d.ts
Browse files Browse the repository at this point in the history
Add certChain and privateKey to StartTlsOptions

Signed-off-by: Emrul <[email protected]>
  • Loading branch information
emrul authored Dec 7, 2023
1 parent 5100be0 commit 4e649db
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions cli/tsc/dts/lib.deno.unstable.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1190,6 +1190,24 @@ declare namespace Deno {
privateKey?: string;
}


/** **UNSTABLE**: New API, yet to be vetted.
*
* @category Network
*/
export interface StartTlsOptions {
/** **UNSTABLE**: New API, yet to be vetted.
*
* PEM formatted client certificate chain.
*/
certChain?: string;
/** **UNSTABLE**: New API, yet to be vetted.
*
* PEM formatted (RSA or PKCS8) private key of client certificate.
*/
privateKey?: string;
}

/** **UNSTABLE**: New API, yet to be vetted.
*
* @category Network
Expand Down

0 comments on commit 4e649db

Please sign in to comment.