Skip to content

TLSSocketOptions

[<Interface>]
type TLSSocketOptions =
    abstract member isServer: bool option with get, set
    abstract member requestOCSP: bool option with get, set
    abstract member server: Server option with get, set
    abstract member session: Buffer option with get, set
    static member Create (?ALPNCallback: (arg -> string option), ?allowPartialTrustChain: bool, ?ca: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?cert: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?sigalgs: string, ?ciphers: string, ?clientCertEngine: string, ?crl: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?dhparam: U2<string,Buffer>, ?ecdhCurve: string, ?honorCipherOrder: bool, ?key: U3<string,Buffer,ResizeArray<U3<string,Buffer,KeyObject>>>, ?privateKeyEngine: string, ?privateKeyIdentifier: string, ?maxVersion: SecureVersion, ?minVersion: SecureVersion, ?passphrase: string, ?pfx: U3<string,Buffer,ResizeArray<U3<string,Buffer,PxfObject>>>, ?secureOptions: float, ?secureProtocol: string, ?sessionIdContext: string, ?ticketKeys: Buffer, ?sessionTimeout: float, ?secureContext: SecureContext, ?enableTrace: bool, ?requestCert: bool, ?ALPNProtocols: U2<ResizeArray<string>,ArrayBufferView>, ?SNICallback: SNICallback, ?rejectUnauthorized: bool, ?isServer: bool, ?server: Server, ?session: Buffer, ?requestOCSP: bool) : TLSSocketOptions
AssemblyGlutinum.Node
Inheritsobj \| null
ImplementsCommonConnectionOptions, SecureContextOptions
Attributes[<AllowNullLiteral>] [<Interface>]

Declared inside

ALPNCallback
SNICallback

Properties

abstract member isServer: bool option with get, set
abstract member requestOCSP: bool option with get, set
abstract member server: Server option with get, set
abstract member session: Buffer option with get, set

Methods

static member Create (?ALPNCallback: (arg -> string option), ?allowPartialTrustChain: bool, ?ca: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?cert: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?sigalgs: string, ?ciphers: string, ?clientCertEngine: string, ?crl: U3<string,Buffer,ResizeArray<U2<string,Buffer>>>, ?dhparam: U2<string,Buffer>, ?ecdhCurve: string, ?honorCipherOrder: bool, ?key: U3<string,Buffer,ResizeArray<U3<string,Buffer,KeyObject>>>, ?privateKeyEngine: string, ?privateKeyIdentifier: string, ?maxVersion: SecureVersion, ?minVersion: SecureVersion, ?passphrase: string, ?pfx: U3<string,Buffer,ResizeArray<U3<string,Buffer,PxfObject>>>, ?secureOptions: float, ?secureProtocol: string, ?sessionIdContext: string, ?ticketKeys: Buffer, ?sessionTimeout: float, ?secureContext: SecureContext, ?enableTrace: bool, ?requestCert: bool, ?ALPNProtocols: U2<ResizeArray<string>,ArrayBufferView>, ?SNICallback: SNICallback, ?rejectUnauthorized: bool, ?isServer: bool, ?server: Server, ?session: Buffer, ?requestOCSP: bool) : TLSSocketOptions