diff options
author | 2017-04-20 10:49:11 +0200 | |
---|---|---|
committer | 2017-04-20 11:48:44 +0200 | |
commit | fa729ed914e357e7779afd7a0d77dd4dc1c3dfa8 (patch) | |
tree | 0964212f15bc2330c254979338046347361da659 /src/csharp/Grpc.Core/ChannelOptions.cs | |
parent | 8d76ab89a37ed5440daec7bf3bb0f0ad940cc0c7 (diff) |
expose grpc.so_reuseport in C#
Diffstat (limited to 'src/csharp/Grpc.Core/ChannelOptions.cs')
-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> |