Class GrpcEndpoint

Namespace: redb.Route.Grpc
Assembly: redb.Route.Grpc.dll

gRPC endpoint. Creates either a producer (gRPC client) or consumer (a path route on the shared
Kestrel host).
URI path format: host[:port][/package.Service/Method]

public class GrpcEndpoint : EndpointBase<GrpcEndpointOptions>, IEndpoint, IEndpointStatistics

Inheritance

Object→GrpcEndpointOptions}→GrpcEndpoint

Implements

Methods

BuildProducerAddress()

Builds the target address for the producer: scheme + authority, without the method address

public string BuildProducerAddress()

CreateConsumer(IProcessor)

Creates a consumer for receiving messages from this endpoint.

public override IConsumer CreateConsumer(IProcessor processor)

CreateProducer()

Creates a producer for sending messages to this endpoint.

public override IProducer CreateProducer()

Constructors