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<U2<ArrayBuffer,SharedArrayBuffer>> option with get, set
AssemblyXantham.Fable.Node
ImplementsCommonConnectionOptions, SecureContextOptions

Declared inside

SNICallback

Properties

abstract member isServer: bool option with get, set

If true the TLS socket will be instantiated in server-mode. Defaults to false.

abstract member requestOCSP: bool option with get, set

If true, specifies that the OCSP status request extension will be added to the client hello and an 'OCSPResponse' event will be emitted on the socket before establishing a secure communication

abstract member server: Server option with get, set

An optional net.Server instance.

abstract member session: Buffer<U2<ArrayBuffer,SharedArrayBuffer>> option with get, set

An optional Buffer instance containing a TLS session.