Class GrpcComponent
gRPC component. Scheme: "grpc".
Producer: GrpcChannel-based client for calling gRPC services.
Consumer: a path route on the shared Kestrel host (the same
that serves Http, As2 and Soap), speaking the gRPC wire
protocol directly. A gRPC method address is just the route path, so many methods share one port.
URI format: grpc:host:port[/package.Service/Method]?deadline=30000&plaintext=true
public class GrpcComponent : ComponentBase, IComponent, IAsyncDisposable
Inheritance
Implements
Inherited Members
Properties
Scheme
The URI scheme this component handles (e.g., "kafka", "rabbitmq").
public override string Scheme { get; }
ServerManager
Shared Kestrel host. Set by AddRedbRouteGrpc() from DI so that a gRPC route and an HTTP
public SharedHttpServerManager? ServerManager { get; set; }
Methods
CreateEndpoint(EndpointUri)
Creates an endpoint from a parsed URI.
public override IEndpoint CreateEndpoint(EndpointUri uri)