Package version:

Container App Dapr configuration.

interface Dapr {
    appId?: string;
    appPort?: number;
    appProtocol?: string;
    enableApiLogging?: boolean;
    enabled?: boolean;
    httpMaxRequestSize?: number;
    httpReadBufferSize?: number;
    logLevel?: string;
}

Properties

appId?: string

Dapr application identifier

appPort?: number

Tells Dapr which port your application is listening on

appProtocol?: string

Tells Dapr which protocol your application is using. Valid options are http and grpc. Default is http

enableApiLogging?: boolean

Enables API logging for the Dapr sidecar

enabled?: boolean

Boolean indicating if the Dapr side car is enabled

httpMaxRequestSize?: number

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

httpReadBufferSize?: number

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

logLevel?: string

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