Click or drag to resize
Channel Constructor (String, Int32, Credentials, IEnumerableChannelOption)
Creates a channel that connects to a specific host and port.

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

Parameters

host
Type: SystemString
The name or IP address of the host.
port
Type: SystemInt32
The port.
credentials
Type: Grpc.CoreCredentials
Credentials to secure the channel.
options (Optional)
Type: System.Collections.GenericIEnumerableChannelOption
Channel options.
See Also