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

Hierarchy

  • ConnectionConfig

Index

Properties

Properties

Optional host

host: string

Optional maxPayload

maxPayload: number

Optional port

port: number

Optional tls

tls: boolean