diff options
author | 2017-04-20 10:49:11 +0200 | |
---|---|---|
committer | 2017-04-20 10:49:11 +0200 | |
commit | f517fad05dba7b25602a15c2c751fd7d9ba65252 (patch) | |
tree | a6e26ab0a85a416eb14c0cf9644af44e606d1b29 /src/csharp | |
parent | abd8fb7d1878a05401cbb69084f247f18145bb55 (diff) |
expose grpc.so_reuseport in C#
Diffstat (limited to 'src/csharp')
-rw-r--r-- | src/csharp/Grpc.Core/ChannelOptions.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/ChannelOptions.cs b/src/csharp/Grpc.Core/ChannelOptions.cs index 46a2c6695f..5de9b1ee3c 100644 --- a/src/csharp/Grpc.Core/ChannelOptions.cs +++ b/src/csharp/Grpc.Core/ChannelOptions.cs @@ -172,6 +172,9 @@ namespace Grpc.Core /// <summary>Secondary user agent: goes at the end of the user-agent metadata</summary> public const string SecondaryUserAgentString = "grpc.secondary_user_agent"; + /// <summary>If non-zero, allow the use of SO_REUSEPORT for server if it's available (default 1)</summary> + public const string SoReuseport = "grpc.so_reuseport"; + /// <summary> /// Creates native object for a collection of channel options. /// </summary> |