Class ChannelOptions

public static class ChannelOptions : object

Defines names of most commonly used channel options. Other supported options names can be found in grpc_types.h (GRPC_ARG_* definitions)

Inheritance

Object > ChannelOptions

Namespace

Grpc.Core

Assembly

Grpc.Core.dll

Fields

Census

public const string Census = null

Enable census for tracing and stats collection

Field Value
TypeDescription
String

DefaultAuthority

public const string DefaultAuthority = null

Default authority for calls.

Field Value
TypeDescription
String

Http2InitialSequenceNumber

public const string Http2InitialSequenceNumber = null

Initial sequence number for http2 transports

Field Value
TypeDescription
String

MaxConcurrentStreams

public const string MaxConcurrentStreams = null

Maximum number of concurrent incoming streams to allow on a http2 connection

Field Value
TypeDescription
String

MaxMessageLength

public const string MaxMessageLength = null

Obsolete, for backward compatibility only.

Field Value
TypeDescription
String

MaxReceiveMessageLength

public const string MaxReceiveMessageLength = null

Maximum message length that the channel can receive

Field Value
TypeDescription
String

MaxSendMessageLength

public const string MaxSendMessageLength = null

Maximum message length that the channel can send

Field Value
TypeDescription
String

PrimaryUserAgentString

public const string PrimaryUserAgentString = null

Primary user agent: goes at the start of the user-agent metadata

Field Value
TypeDescription
String

SecondaryUserAgentString

public const string SecondaryUserAgentString = null

Secondary user agent: goes at the end of the user-agent metadata

Field Value
TypeDescription
String

SoReuseport

public const string SoReuseport = null

If non-zero, allow the use of SO_REUSEPORT for server if it's available (default 1)

Field Value
TypeDescription
String

SslTargetNameOverride

public const string SslTargetNameOverride = null

Override SSL target check. Only to be used for testing.

Field Value
TypeDescription
String