Table of Contents

Class DaprSidecarChannel

Namespace
Virtufin.Api.Services
Assembly
Virtufin.Api.dll

The process-wide gRPC channel to the local Dapr sidecar.

public sealed class DaprSidecarChannel : IDisposable
Inheritance
DaprSidecarChannel
Implements
Inherited Members

Remarks

Registered as a singleton so every component talking to the sidecar shares one connection. Distinct from GrpcChannelPool, which manages channels to downstream application services across many hosts; this is a single fixed localhost target and needs no pooling or health validation.

Constructors

DaprSidecarChannel(GrpcChannel)

public DaprSidecarChannel(GrpcChannel channel)

Parameters

channel GrpcChannel

Properties

Channel

public GrpcChannel Channel { get; }

Property Value

GrpcChannel

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

public void Dispose()