Skip to content

Commit

Permalink
Fix metadata arguments on binder context (#327)
Browse files Browse the repository at this point in the history
  • Loading branch information
JamesNK authored Jun 14, 2019
1 parent 3b6eac6 commit 31f7a5f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ public void AddUnaryMethod<TRequest, TResponse>(Method<TRequest, TResponse> meth
/// <param name="method">The method description.</param>
/// <param name="metadata">The method metadata. This metadata can be used by routing and middleware when invoking a gRPC method.</param>
/// <param name="invoker">The method invoker that is executed when the method is called.</param>
public void AddServerStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, List<object> metadata, ServerStreamingServerMethod<TService, TRequest, TResponse> invoker)
public void AddServerStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, IList<object> metadata, ServerStreamingServerMethod<TService, TRequest, TResponse> invoker)
where TRequest : class
where TResponse : class
{
Expand All @@ -83,7 +83,7 @@ public void AddServerStreamingMethod<TRequest, TResponse>(Method<TRequest, TResp
/// <param name="method">The method description.</param>
/// <param name="metadata">The method metadata. This metadata can be used by routing and middleware when invoking a gRPC method.</param>
/// <param name="invoker">The method invoker that is executed when the method is called.</param>
public void AddClientStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, List<object> metadata, ClientStreamingServerMethod<TService, TRequest, TResponse> invoker)
public void AddClientStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, IList<object> metadata, ClientStreamingServerMethod<TService, TRequest, TResponse> invoker)
where TRequest : class
where TResponse : class
{
Expand All @@ -101,7 +101,7 @@ public void AddClientStreamingMethod<TRequest, TResponse>(Method<TRequest, TResp
/// <param name="method">The method description.</param>
/// <param name="metadata">The method metadata. This metadata can be used by routing and middleware when invoking a gRPC method.</param>
/// <param name="invoker">The method invoker that is executed when the method is called.</param>
public void AddDuplexStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, List<object> metadata, DuplexStreamingServerMethod<TService, TRequest, TResponse> invoker)
public void AddDuplexStreamingMethod<TRequest, TResponse>(Method<TRequest, TResponse> method, IList<object> metadata, DuplexStreamingServerMethod<TService, TRequest, TResponse> invoker)
where TRequest : class
where TResponse : class
{
Expand Down

0 comments on commit 31f7a5f

Please sign in to comment.