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)
Namespace
Grpc.CoreAssembly
Grpc.Core.dll
Fields
Census
public const string Census = null
Enable census for tracing and stats collection
Type | Description |
---|---|
String |
DefaultAuthority
public const string DefaultAuthority = null
Default authority for calls.
Type | Description |
---|---|
String |
Http2InitialSequenceNumber
public const string Http2InitialSequenceNumber = null
Initial sequence number for http2 transports
Type | Description |
---|---|
String |
MaxConcurrentStreams
public const string MaxConcurrentStreams = null
Maximum number of concurrent incoming streams to allow on a http2 connection
Type | Description |
---|---|
String |
MaxMessageLength
public const string MaxMessageLength = null
Obsolete, for backward compatibility only.
Type | Description |
---|---|
String |
MaxReceiveMessageLength
public const string MaxReceiveMessageLength = null
Maximum message length that the channel can receive
Type | Description |
---|---|
String |
MaxSendMessageLength
public const string MaxSendMessageLength = null
Maximum message length that the channel can send
Type | Description |
---|---|
String |
PrimaryUserAgentString
public const string PrimaryUserAgentString = null
Primary user agent: goes at the start of the user-agent metadata
Type | Description |
---|---|
String |
SecondaryUserAgentString
public const string SecondaryUserAgentString = null
Secondary user agent: goes at the end of the user-agent metadata
Type | Description |
---|---|
String |
SoReuseport
public const string SoReuseport = null
If non-zero, allow the use of SO_REUSEPORT for server if it's available (default 1)
Type | Description |
---|---|
String |
SslTargetNameOverride
public const string SslTargetNameOverride = null
Override SSL target check. Only to be used for testing.
Type | Description |
---|---|
String |