Show / Hide Table of Contents

    Class ChannelBase

    Base class for gRPC channel. Channels are an abstraction of long-lived connections to remote servers.

    Inheritance
    System.Object
    ChannelBase
    Namespace: Grpc.Core
    Assembly: Grpc.Core.Api.dll
    Syntax
    public abstract class ChannelBase : object

    Constructors

    ChannelBase(String)

    Initializes a new instance of ChannelBase class that connects to a specific host.

    Declaration
    protected ChannelBase(string target)
    Parameters
    Type Name Description
    System.String target

    Target of the channel.

    Properties

    Target

    The original target used to create the channel.

    Declaration
    public string Target { get; }
    Property Value
    Type Description
    System.String

    Methods

    CreateCallInvoker()

    Create a new CallInvoker for the channel.

    Declaration
    public abstract CallInvoker CreateCallInvoker()
    Returns
    Type Description
    CallInvoker

    A new CallInvoker.

    Extension Methods

    ChannelExtensions.Intercept(ChannelBase, Interceptor)
    ChannelExtensions.Intercept(ChannelBase, Interceptor[])
    ChannelExtensions.Intercept(ChannelBase, Func<Metadata, Metadata>)
    Back to top Generated by DocFX