diff options
author | Craig Tiller <ctiller@google.com> | 2015-05-08 08:32:44 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2015-05-08 08:32:44 -0700 |
commit | 41af13e6c12d7b7538998df8b7a8ee6aaf6ae0c7 (patch) | |
tree | cb41a6fc7c7bb095c4602b1a8e49dab66282056a /src/csharp/Grpc.Core/Stub | |
parent | f5081450126977268bff21b2fea4caeece7102b7 (diff) | |
parent | 9daab242adccada4623085f34e14d68c1a373d21 (diff) |
Merge branch 'churn-churn-churn-the-api-gently-down-the-stream' of github.com:ctiller/grpc into churn-churn-churn-the-api-gently-down-the-stream
Diffstat (limited to 'src/csharp/Grpc.Core/Stub')
-rw-r--r-- | src/csharp/Grpc.Core/Stub/AbstractStub.cs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/csharp/Grpc.Core/Stub/AbstractStub.cs b/src/csharp/Grpc.Core/Stub/AbstractStub.cs index cf5ab958c5..4a8b254357 100644 --- a/src/csharp/Grpc.Core/Stub/AbstractStub.cs +++ b/src/csharp/Grpc.Core/Stub/AbstractStub.cs @@ -64,6 +64,8 @@ namespace Grpc.Core /// Creates a new call to given method. /// </summary> protected Call<TRequest, TResponse> CreateCall<TRequest, TResponse>(string serviceName, Method<TRequest, TResponse> method) + where TRequest : class + where TResponse : class { var headerBuilder = Metadata.CreateBuilder(); config.HeaderInterceptor(headerBuilder); |