Class GrpcEndpoint
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
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
GrpcEndpoint(EndpointUri, GrpcComponent, GrpcEndpointOptions)
Creates a gRPC endpoint.