Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ProtonServerOptions

Options for configuring {@link ProtonServer} creation.

Hierarchy

  • any
    • ProtonServerOptions

Index

Constructors

Methods

Constructors

constructor

Methods

addCrlPath

  • Parameters

    • crlPaths: string

    Returns ProtonServerOptions

addCrlValue

  • Parameters

    • crlValues: Buffer

    Returns ProtonServerOptions

addEnabledCipherSuite

  • Parameters

    • enabledCipherSuites: string

    Returns ProtonServerOptions

addEnabledSecureTransportProtocol

  • addEnabledSecureTransportProtocol(enabledSecureTransportProtocols: string): ProtonServerOptions
  • Parameters

    • enabledSecureTransportProtocols: string

    Returns ProtonServerOptions

getAcceptBacklog

  • getAcceptBacklog(): number
  • Returns number

getActivityLogDataFormat

  • getActivityLogDataFormat(): any
  • Returns any

getClientAuth

  • getClientAuth(): ClientAuth
  • Returns ClientAuth

getCrlPaths

  • getCrlPaths(): string[]
  • Returns string[]

getCrlValues

  • getCrlValues(): Buffer[]
  • Returns Buffer[]

getEnabledCipherSuites

  • getEnabledCipherSuites(): string[]
  • Returns string[]

getEnabledSecureTransportProtocols

  • getEnabledSecureTransportProtocols(): string[]
  • Returns string[]

getHeartbeat

  • getHeartbeat(): number
  • Sets the heart beat (in milliseconds) as maximum delay between sending frames for the remote peers. If no frames are received within 2 * heart beat, the connection is closed.

    Returns number

getHost

  • getHost(): string
  • Returns string

getIdleTimeout

  • getIdleTimeout(): number
  • Returns number

getIdleTimeoutUnit

  • getIdleTimeoutUnit(): any
  • Returns any

getJdkSslEngineOptions

  • getJdkSslEngineOptions(): JdkSSLEngineOptions
  • Returns JdkSSLEngineOptions

getKeyStoreOptions

  • getKeyStoreOptions(): JksOptions
  • Returns JksOptions

getLogActivity

  • getLogActivity(): boolean
  • Returns boolean

getMaxFrameSize

  • getMaxFrameSize(): number
  • Sets the maximum frame size for connections.

    If this property is not set explicitly, a reasonable default value is used.

    Setting this property to a negative value will result in no maximum frame size being announced at all.

    Returns number

getOpenSslEngineOptions

  • getOpenSslEngineOptions(): OpenSSLEngineOptions
  • Returns OpenSSLEngineOptions

getPemKeyCertOptions

  • getPemKeyCertOptions(): PemKeyCertOptions
  • Returns PemKeyCertOptions

getPemTrustOptions

  • getPemTrustOptions(): PemTrustOptions
  • Returns PemTrustOptions

getPfxKeyCertOptions

  • getPfxKeyCertOptions(): PfxOptions
  • Returns PfxOptions

getPfxTrustOptions

  • getPfxTrustOptions(): PfxOptions
  • Returns PfxOptions

getPort

  • getPort(): number
  • Returns number

getProxyProtocolTimeout

  • getProxyProtocolTimeout(): number
  • Returns number

getProxyProtocolTimeoutUnit

  • getProxyProtocolTimeoutUnit(): any
  • Returns any

getReadIdleTimeout

  • getReadIdleTimeout(): number
  • Returns number

getReceiveBufferSize

  • getReceiveBufferSize(): number
  • Returns number

getSendBufferSize

  • getSendBufferSize(): number
  • Returns number

getSoLinger

  • getSoLinger(): number
  • Returns number

getSslEngineOptions

  • getSslEngineOptions(): any
  • Returns any

getSslHandshakeTimeout

  • getSslHandshakeTimeout(): number
  • Returns number

getSslHandshakeTimeoutUnit

  • getSslHandshakeTimeoutUnit(): any
  • Returns any

getTcpUserTimeout

  • getTcpUserTimeout(): number
  • Returns number

getTrafficClass

  • getTrafficClass(): number
  • Returns number

getTrustOptions

  • getTrustOptions(): any
  • Returns any

getTrustStoreOptions

  • getTrustStoreOptions(): JksOptions
  • Returns JksOptions

getWriteIdleTimeout

  • getWriteIdleTimeout(): number
  • Returns number

isRegisterWriteHandler

  • isRegisterWriteHandler(): boolean
  • Returns boolean

isReuseAddress

  • isReuseAddress(): boolean
  • Returns boolean

isReusePort

  • isReusePort(): boolean
  • Returns boolean

isSni

  • isSni(): boolean
  • Returns boolean

isSsl

  • isSsl(): boolean
  • Returns boolean

isTcpCork

  • isTcpCork(): boolean
  • Returns boolean

isTcpFastOpen

  • isTcpFastOpen(): boolean
  • Returns boolean

isTcpKeepAlive

  • isTcpKeepAlive(): boolean
  • Returns boolean

isTcpNoDelay

  • isTcpNoDelay(): boolean
  • Returns boolean

isTcpQuickAck

  • isTcpQuickAck(): boolean
  • Returns boolean

isUseAlpn

  • isUseAlpn(): boolean
  • Returns boolean

isUseProxyProtocol

  • isUseProxyProtocol(): boolean
  • Returns boolean

setAcceptBacklog

  • Parameters

    • acceptBacklog: number

    Returns ProtonServerOptions

setActivityLogDataFormat

  • Parameters

    • activityLogDataFormat: any

    Returns ProtonServerOptions

setClientAuth

  • Parameters

    • clientAuth: ClientAuth

    Returns ProtonServerOptions

setEnabledSecureTransportProtocols

  • setEnabledSecureTransportProtocols(enabledSecureTransportProtocols: string[]): ProtonServerOptions
  • Parameters

    • enabledSecureTransportProtocols: string[]

    Returns ProtonServerOptions

setHeartbeat

  • Sets the heart beat (in milliseconds) as maximum delay between sending frames for the remote peers. If no frames are received within 2 * heart beat, the connection is closed.

    Parameters

    • heartbeat: number

    Returns ProtonServerOptions

setHost

  • Parameters

    • host: string

    Returns ProtonServerOptions

setIdleTimeout

  • Parameters

    • idleTimeout: number

    Returns ProtonServerOptions

setIdleTimeoutUnit

  • Parameters

    • idleTimeoutUnit: any

    Returns ProtonServerOptions

setJdkSslEngineOptions

  • Parameters

    • jdkSslEngineOptions: JdkSSLEngineOptions

    Returns ProtonServerOptions

setKeyCertOptions

  • Parameters

    • keyCertOptions: any

    Returns ProtonServerOptions

setKeyStoreOptions

  • Parameters

    • keyStoreOptions: JksOptions

    Returns ProtonServerOptions

setLogActivity

  • Parameters

    • logActivity: boolean

    Returns ProtonServerOptions

setMaxFrameSize

  • Sets the maximum frame size for connections.

    If this property is not set explicitly, a reasonable default value is used.

    Setting this property to a negative value will result in no maximum frame size being announced at all.

    Parameters

    • maxFrameSize: number

    Returns ProtonServerOptions

setOpenSslEngineOptions

  • Parameters

    • openSslEngineOptions: OpenSSLEngineOptions

    Returns ProtonServerOptions

setPemKeyCertOptions

  • Parameters

    • pemKeyCertOptions: PemKeyCertOptions

    Returns ProtonServerOptions

setPemTrustOptions

  • Parameters

    • pemTrustOptions: PemTrustOptions

    Returns ProtonServerOptions

setPfxKeyCertOptions

  • Parameters

    • pfxKeyCertOptions: PfxOptions

    Returns ProtonServerOptions

setPfxTrustOptions

  • Parameters

    • pfxTrustOptions: PfxOptions

    Returns ProtonServerOptions

setPort

  • Parameters

    • port: number

    Returns ProtonServerOptions

setProxyProtocolTimeout

  • Parameters

    • proxyProtocolTimeout: number

    Returns ProtonServerOptions

setProxyProtocolTimeoutUnit

  • Parameters

    • proxyProtocolTimeoutUnit: any

    Returns ProtonServerOptions

setReadIdleTimeout

  • Parameters

    • readIdleTimeout: number

    Returns ProtonServerOptions

setReceiveBufferSize

  • Parameters

    • receiveBufferSize: number

    Returns ProtonServerOptions

setRegisterWriteHandler

  • Parameters

    • registerWriteHandler: boolean

    Returns ProtonServerOptions

setReuseAddress

  • Parameters

    • reuseAddress: boolean

    Returns ProtonServerOptions

setReusePort

  • Parameters

    • reusePort: boolean

    Returns ProtonServerOptions

setSendBufferSize

  • Parameters

    • sendBufferSize: number

    Returns ProtonServerOptions

setSni

  • Parameters

    • sni: boolean

    Returns ProtonServerOptions

setSoLinger

  • Parameters

    • soLinger: number

    Returns ProtonServerOptions

setSsl

  • Parameters

    • ssl: boolean

    Returns ProtonServerOptions

setSslEngineOptions

  • Parameters

    • sslEngineOptions: any

    Returns ProtonServerOptions

setSslHandshakeTimeout

  • Parameters

    • sslHandshakeTimeout: number

    Returns ProtonServerOptions

setSslHandshakeTimeoutUnit

  • Parameters

    • sslHandshakeTimeoutUnit: any

    Returns ProtonServerOptions

setTcpCork

  • Parameters

    • tcpCork: boolean

    Returns ProtonServerOptions

setTcpFastOpen

  • Parameters

    • tcpFastOpen: boolean

    Returns ProtonServerOptions

setTcpKeepAlive

  • Parameters

    • tcpKeepAlive: boolean

    Returns ProtonServerOptions

setTcpNoDelay

  • Parameters

    • tcpNoDelay: boolean

    Returns ProtonServerOptions

setTcpQuickAck

  • Parameters

    • tcpQuickAck: boolean

    Returns ProtonServerOptions

setTcpUserTimeout

  • Parameters

    • tcpUserTimeout: number

    Returns ProtonServerOptions

setTrafficClass

  • Parameters

    • trafficClass: number

    Returns ProtonServerOptions

setTrustOptions

  • Parameters

    • trustOptions: any

    Returns ProtonServerOptions

setTrustStoreOptions

  • Parameters

    • trustStoreOptions: JksOptions

    Returns ProtonServerOptions

setUseAlpn

  • Parameters

    • useAlpn: boolean

    Returns ProtonServerOptions

setUseProxyProtocol

  • Parameters

    • useProxyProtocol: boolean

    Returns ProtonServerOptions

setWriteIdleTimeout

  • Parameters

    • writeIdleTimeout: number

    Returns ProtonServerOptions

toJson

  • toJson(): {}
  • Returns {}

    • [key: string]: any

Generated using TypeDoc