Class BowireGrpcServiceCollectionExtensions
- Namespace
- Kuestenlogik.Bowire.Protocol.Grpc
- Assembly
- Kuestenlogik.Bowire.Protocol.Grpc.dll
Registration of BowireGrpcOptions.
public static class BowireGrpcServiceCollectionExtensions
- Inheritance
-
BowireGrpcServiceCollectionExtensions
- Inherited Members
Methods
AddBowireGrpc(IServiceCollection, Action<BowireGrpcOptions>)
Configure how the gRPC plugin of an embedded Bowire finds the host's contract. Optional: without it the plugin reads the descriptors of the gRPC services the host maps and maps no reflection endpoint.
public static IServiceCollection AddBowireGrpc(this IServiceCollection services, Action<BowireGrpcOptions> configure)
Parameters
servicesIServiceCollectionconfigureAction<BowireGrpcOptions>