Skip to content

Commit

Permalink
fix: add alpn option
Browse files Browse the repository at this point in the history
  • Loading branch information
robertsLando committed Aug 8, 2024
1 parent d1a1653 commit 2f8e739
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/lib/client.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,16 @@ export interface ISecureClientOptions {
caPaths?: string | string[]

rejectUnauthorized?: boolean

/**
* optional alpn's
* optional alpn's (Application Layer Protocol Negotiation)
*/
ALPNProtocols?: string[] | Buffer[] | Uint8Array[] | Buffer | Uint8Array

/**
* optional alpn's (Application Layer Protocol Negotiation)
*/
alpn?: string
}

export type AckHandler = (
Expand Down

0 comments on commit 2f8e739

Please sign in to comment.