public sealed class GrpcNetClientAdapter : GrpcAdapter
Implementation of GrpcAdapter for Grpc.Net.Client.
Namespace
GoogleGoogle.ApiGaxGrpcAssembly
Google.Api.Gax.Grpc.dll
Properties
Default
public static GrpcNetClientAdapter Default { get; }
Returns the default instance of this class.
Property Value | |
---|---|
Type | Description |
GrpcNetClientAdapter |
Methods
WithAdditionalOptions(Action<GrpcChannelOptions>)
public GrpcNetClientAdapter WithAdditionalOptions(Action<Grpc.Net.Client.GrpcChannelOptions> configure)
Returns a new instance based on this one, but with the additional options configurer specified. The options configurer is called after creating the from other settings, but before creating the .
Parameter | |
---|---|
Name | Description |
configure | ActionGrpcGrpc.NetGrpc.Net.ClientGrpc.Net.Client.GrpcChannelOptions An optional configuration delegate to apply to instances of before they are provided to a , after any configuration applied by this adapter. May be null, in which case a new instance is returned but with the same option configurer as this one. |
Returns | |
---|---|
Type | Description |
GrpcNetClientAdapter | A new adapter based on this one, but with an additional channel options configuration action. |