Skip to main content

Interface: ConnectionOptions

client.ConnectionOptions

GRPC + Temporal server connection options

Properties#

address#

Optional address: string

Server hostname and optional port. Port defaults to 7233 if address contains only host.

default localhost:7233


channelArgs#

Optional channelArgs: Record<string, any>

GRPC Channel arguments

see options here


credentials#

Optional credentials: ChannelCredentials

Channel credentials, create using the factory methods defined here

Either tls or this may be specified for configuring TLS


tls#

Optional tls: null | boolean | TLSConfig

TLS configuration. Pass a falsy value to use a non-encrypted connection or true or {} to connect with TLS without any customization.

Either credentials or this may be specified for configuring TLS