Class GrpcNetClientAdapter (4.3.1)

public sealed class GrpcNetClientAdapter : GrpcAdapter

Implementation of GrpcAdapter for Grpc.Net.Client.

Inheritance

object > GrpcAdapter > GrpcNetClientAdapter

Namespace

GoogleGoogle.ApiGaxGrpc

Assembly

Google.Api.Gax.Grpc.dll

Properties

Default

public static GrpcNetClientAdapter Default { get; }

Returns the default instance of this class.

Property Value
TypeDescription
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
NameDescription
configureActionGrpcGrpc.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
TypeDescription
GrpcNetClientAdapter

A new adapter based on this one, but with an additional channel options configuration action.