DaprConfig interface

App Dapr configuration.

Properties

appId

Dapr application identifier

appPort

Tells Dapr which port your application is listening on

enableApiLogging

Enables API logging for the Dapr sidecar

enabled

Boolean indicating if the Dapr side car is enabled

httpMaxRequestSize

Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.

httpReadBufferSize

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

logLevel

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

Property Details

appId

Dapr application identifier

appId?: string

Property Value

string

appPort

Tells Dapr which port your application is listening on

appPort?: number

Property Value

number

enableApiLogging

Enables API logging for the Dapr sidecar

enableApiLogging?: boolean

Property Value

boolean

enabled

Boolean indicating if the Dapr side car is enabled

enabled?: boolean

Property Value

boolean

httpMaxRequestSize

Increasing max size of request body http servers parameter in MB to handle uploading of big files. Default is 4 MB.

httpMaxRequestSize?: number

Property Value

number

httpReadBufferSize

Dapr max size of http header read buffer in KB to handle when sending multi-KB headers. Default is 65KB.

httpReadBufferSize?: number

Property Value

number

logLevel

Sets the log level for the Dapr sidecar. Allowed values are debug, info, warn, error. Default is info.

logLevel?: string

Property Value

string