<PackageReference Include="Grpc.Core.Api" Version="2.70.0-pre1" />

Grpc.Core.ClientBase

public abstract class ClientBase
Base class for client-side stubs.
protected CallInvoker CallInvoker { get; }

Gets the call invoker.

protected ClientBase()

Initializes a new instance of ClientBase class that throws NotImplementedException upon invocation of any RPC. This constructor is only provided to allow creation of test doubles for client classes (e.g. mocking requires a parameterless constructor).

protected ClientBase(ClientBaseConfiguration configuration)

Initializes a new instance of ClientBase class.

public ClientBase(ChannelBase channel)

Initializes a new instance of ClientBase class.

public ClientBase(CallInvoker callInvoker)

Initializes a new instance of ClientBase class.