Click or drag to resize
Channel Constructor (String, Credentials, IEnumerableChannelOption)
Creates a channel that connects to a specific host. Port will default to 80 for an unsecure channel and to 443 for a secure channel.

Namespace: Grpc.Core
Assembly: Grpc.Core (in Grpc.Core.dll) Version: 0.7.0.0
Syntax
public Channel(
	string target,
	Credentials credentials,
	IEnumerable<ChannelOption> options = null
)

Parameters

target
Type: SystemString
Target of the channel.
credentials
Type: Grpc.CoreCredentials
Credentials to secure the channel.
options (Optional)
Type: System.Collections.GenericIEnumerableChannelOption
Channel options.
See Also