Interface: NativeConnectionOptions
worker.NativeConnectionOptions
Properties
address
• Optional
address: string
The host and optional port of the Temporal server to connect to. Port defaults to 7233 if address contains only host.
Default
localhost:7233
metadata
• Optional
metadata: Record
<string
, string
>
Optional mapping of gRPC metadata (HTTP headers) to send with each request to the server.
Set statically at connection time, can be replaced later using setMetadata.
tls
• Optional
tls: null
| boolean
| TLSConfig
TLS configuration options.
Pass a falsy value to use a non-encrypted connection or true
or {}
to
connect with TLS without any customization.