PURISTA API / @purista/dapr-sdk / DaprClientConfig
Type Alias: DaprClientConfig
DaprClientConfig =
object
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:1
Properties
appPrefix?
optionalappPrefix:string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:22
The prefix to generate the app-ID of other services.
Default
app-
daprApiToken?
optionaldaprApiToken:string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:28
API token to authenticate with Dapr. See https://docs.dapr.io/operations/security/api-token/.
daprApiVersion
daprApiVersion:
string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:6
The Dapr api version
Default
v1.0daprHost?
optionaldaprHost:string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:11
Host location of the Dapr sidecar.
Default
127.0.0.1daprPort?
optionaldaprPort:string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:16
Port of the Dapr sidecar.
Default
3500.isKeepAlive?
optionalisKeepAlive:boolean
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:34
If set to false, the HTTP client will not reuse the same connection for multiple requests.
Default
truepubSubName?
optionalpubSubName:string
Defined in: dapr-sdk/src/DaprClient/types/DaprClientConfig.ts:40
The PubSub to be used for event messages
Default
pubsub