aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/csharp
diff options
context:
space:
mode:
authorGravatar Jan Tattermusch <jtattermusch@google.com>2017-04-20 10:49:11 +0200
committerGravatar Jan Tattermusch <jtattermusch@google.com>2017-04-20 10:49:11 +0200
commitf517fad05dba7b25602a15c2c751fd7d9ba65252 (patch)
treea6e26ab0a85a416eb14c0cf9644af44e606d1b29 /src/csharp
parentabd8fb7d1878a05401cbb69084f247f18145bb55 (diff)
expose grpc.so_reuseport in C#
Diffstat (limited to 'src/csharp')
-rw-r--r--src/csharp/Grpc.Core/ChannelOptions.cs3
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>