public sealed class GrpcNetClientAdapter : GrpcAdapterImplementation of GrpcAdapter for Grpc.Net.Client.
Namespace
Google.Api.Gax.GrpcAssembly
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<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 GrpcChannelOptions from other settings, but before creating the GrpcChannel.
| Parameter | |
|---|---|
| Name | Description |
configure |
ActionGrpcChannelOptionsAn optional configuration delegate to apply to instances of GrpcChannelOptions before they are provided to a GrpcChannel, 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. |