Connection configuration parameters. Use tls: true to create a wss:// using TLS encryption (if supported by the server).

Hierarchy

  • ConnectionConfig

Index

Properties

Optional address

address: object

Type declaration

  • http: string
  • webSocket: string

Optional host

host: string

Optional maxPayload

maxPayload: number

Optional port

port: number

Optional tls

tls: boolean