Class DaprSidecarChannel
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
channelGrpcChannel
Properties
Channel
public GrpcChannel Channel { get; }
Property Value
Methods
Dispose()
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
public void Dispose()