Home Reference Source Test
public class | source

WssNetworkConfig

Extends:

NetworkConfigWsNetworkConfig → WssNetworkConfig

Constructor Summary

Public Constructor
public

constructor(host: string, port: number, key: string, cert: string, reverseProxy: {enabled: boolean, port: number, address: string, header: string})

Member Summary

Public Members
public get
public get

protocol: number

public get

secure: boolean

public get

ssl: {key: string, cert: string}

Inherited Summary

From class NetworkConfig
public static
public get

appAgent: string

public set

appAgent: string

public get
public get
public get
public get

protocol: number

public get

protocolMask: number

Used for filtering peer addresses by protocols.

public get
public get
public set

services(services: Services)

protected
protected
protected
public

canConnect(protocol: number): boolean

public

async initPersistent(): void

public

async initVolatile(): void

From class WsNetworkConfig
public get
public get

port: number

public get

protocol: number

public get

reverseProxy: {enabled: boolean, port: number, address: string, header: string}

public get

secure: boolean

Public Constructors

public constructor(host: string, port: number, key: string, cert: string, reverseProxy: {enabled: boolean, port: number, address: string, header: string}) source

Override:

WsNetworkConfig#constructor

Params:

NameTypeAttributeDescription
host string
port number
key string
  • optional
cert string
  • optional
reverseProxy {enabled: boolean, port: number, address: string, header: string}

Public Members

public get peerAddress: WsPeerAddress | WssPeerAddress source

Override:

WsNetworkConfig#peerAddress

public get protocol: number source

Override:

WsNetworkConfig#protocol

public get secure: boolean source

Override:

WsNetworkConfig#secure

public get ssl: {key: string, cert: string} source