Class GrpcNetClientAdapter (4.4.0)

public sealed class GrpcNetClientAdapter : GrpcAdapter

Implementation of GrpcAdapter for Grpc.Net.Client.

Inheritance

object > GrpcAdapter > GrpcNetClientAdapter

Namespace

Google.Api.Gax.Grpc

Assembly

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 ActionGrpcChannelOptions

An 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.