Grpc.Core.Interceptors.Interceptor.AsyncServerStreamingCallContinuation-2.html 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <!DOCTYPE html>
  2. <!--[if IE]><![endif]-->
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  7. <title>Delegate Interceptor.AsyncServerStreamingCallContinuation&lt;TRequest, TResponse&gt;
  8. | gRPC for .NET </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Delegate Interceptor.AsyncServerStreamingCallContinuation&lt;TRequest, TResponse&gt;
  11. | gRPC for .NET ">
  12. <meta name="generator" content="docfx 2.36.0.0">
  13. <link rel="shortcut icon" href="../favicon.ico">
  14. <link rel="stylesheet" href="../styles/docfx.vendor.css">
  15. <link rel="stylesheet" href="../styles/docfx.css">
  16. <link rel="stylesheet" href="../styles/main.css">
  17. <meta property="docfx:navrel" content="../toc.html">
  18. <meta property="docfx:tocrel" content="toc.html">
  19. <meta property="docfx:rel" content="../">
  20. </head>
  21. <body data-spy="scroll" data-target="#affix" data-offset="120">
  22. <div id="wrapper">
  23. <header>
  24. <nav id="autocollapse" class="navbar navbar-inverse ng-scope" role="navigation">
  25. <div class="container">
  26. <div class="navbar-header">
  27. <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#navbar">
  28. <span class="sr-only">Toggle navigation</span>
  29. <span class="icon-bar"></span>
  30. <span class="icon-bar"></span>
  31. <span class="icon-bar"></span>
  32. </button>
  33. <a class="navbar-brand" href="../index.html">
  34. <img id="logo" class="svg" src="../logo.svg" alt="">
  35. </a>
  36. </div>
  37. <div class="collapse navbar-collapse" id="navbar">
  38. <form class="navbar-form navbar-right" role="search" id="search">
  39. <div class="form-group">
  40. <input type="text" class="form-control" id="search-query" placeholder="Search" autocomplete="off">
  41. </div>
  42. </form>
  43. </div>
  44. </div>
  45. </nav>
  46. <div class="subnav navbar navbar-default">
  47. <div class="container hide-when-search" id="breadcrumb">
  48. <ul class="breadcrumb">
  49. <li></li>
  50. </ul>
  51. </div>
  52. </div>
  53. </header>
  54. <div class="container body-content">
  55. <div id="search-results">
  56. <div class="search-list"></div>
  57. <div class="sr-items">
  58. <p><i class="glyphicon glyphicon-refresh index-loading"></i></p>
  59. </div>
  60. <ul id="pagination"></ul>
  61. </div>
  62. </div>
  63. <div role="main" class="container body-content hide-when-search">
  64. <div class="sidenav hide-when-search">
  65. <a class="btn toc-toggle collapse" data-toggle="collapse" href="#sidetoggle" aria-expanded="false" aria-controls="sidetoggle">Show / Hide Table of Contents</a>
  66. <div class="sidetoggle collapse" id="sidetoggle">
  67. <div id="sidetoc"></div>
  68. </div>
  69. </div>
  70. <div class="article row grid-right">
  71. <div class="col-md-10">
  72. <article class="content wrap" id="_content" data-uid="Grpc.Core.Interceptors.Interceptor.AsyncServerStreamingCallContinuation`2">
  73. <h1 id="Grpc_Core_Interceptors_Interceptor_AsyncServerStreamingCallContinuation_2" data-uid="Grpc.Core.Interceptors.Interceptor.AsyncServerStreamingCallContinuation`2" class="text-break">Delegate Interceptor.AsyncServerStreamingCallContinuation&lt;TRequest, TResponse&gt;
  74. </h1>
  75. <div class="markdown level0 summary"><p>Represents a continuation for intercepting asynchronous server-streaming invocations.
  76. A delegate of this type is passed to the AsyncServerStreamingCall method
  77. when an outgoing invocation is being intercepted and calling the
  78. delegate will invoke the next interceptor in the chain, or the underlying
  79. call invoker if called from the last interceptor. The interceptor is
  80. allowed to call it zero, one, or multiple times, passing it the appropriate
  81. request value and context as it sees fit.</p>
  82. </div>
  83. <div class="markdown level0 conceptual"></div>
  84. <h6><strong>Namespace</strong>: <a class="xref" href="Grpc.Core.Interceptors.html">Grpc.Core.Interceptors</a></h6>
  85. <h6><strong>Assembly</strong>: Grpc.Core.Api.dll</h6>
  86. <h5 id="Grpc_Core_Interceptors_Interceptor_AsyncServerStreamingCallContinuation_2_syntax">Syntax</h5>
  87. <div class="codewrapper">
  88. <pre><code class="lang-csharp hljs">public delegate AsyncServerStreamingCall&lt;TResponse&gt; AsyncServerStreamingCallContinuation&lt;TRequest, TResponse&gt;(TRequest request, ClientInterceptorContext&lt;TRequest, TResponse&gt; context)
  89. where TRequest : class where TResponse : class;</code></pre>
  90. </div>
  91. <h5 class="parameters">Parameters</h5>
  92. <table class="table table-bordered table-striped table-condensed">
  93. <thead>
  94. <tr>
  95. <th>Type</th>
  96. <th>Name</th>
  97. <th>Description</th>
  98. </tr>
  99. </thead>
  100. <tbody>
  101. <tr>
  102. <td><span class="xref">TRequest</span></td>
  103. <td><span class="parametername">request</span></td>
  104. <td><p>The request value to continue the invocation with.</p>
  105. </td>
  106. </tr>
  107. <tr>
  108. <td><a class="xref" href="Grpc.Core.Interceptors.ClientInterceptorContext-2.html">ClientInterceptorContext</a>&lt;TRequest, TResponse&gt;</td>
  109. <td><span class="parametername">context</span></td>
  110. <td><p>The <a class="xref" href="Grpc.Core.Interceptors.ClientInterceptorContext-2.html">ClientInterceptorContext&lt;TRequest, TResponse&gt;</a>
  111. instance to pass to the next step in the invocation process.</p>
  112. </td>
  113. </tr>
  114. </tbody>
  115. </table>
  116. <h5 class="returns">Returns</h5>
  117. <table class="table table-bordered table-striped table-condensed">
  118. <thead>
  119. <tr>
  120. <th>Type</th>
  121. <th>Description</th>
  122. </tr>
  123. </thead>
  124. <tbody>
  125. <tr>
  126. <td><a class="xref" href="Grpc.Core.AsyncServerStreamingCall-1.html">AsyncServerStreamingCall</a>&lt;TResponse&gt;</td>
  127. <td><p>An instance of <a class="xref" href="Grpc.Core.AsyncServerStreamingCall-1.html">AsyncServerStreamingCall&lt;TResponse&gt;</a>
  128. representing an asynchronous invocation of a server-streaming RPC.
  129. The interceptor can choose to return the same object returned from
  130. the continuation delegate or an arbitrarily constructed instance as it sees fit.</p>
  131. </td>
  132. </tr>
  133. </tbody>
  134. </table>
  135. <h5 class="typeParameters">Type Parameters</h5>
  136. <table class="table table-bordered table-striped table-condensed">
  137. <thead>
  138. <tr>
  139. <th>Name</th>
  140. <th>Description</th>
  141. </tr>
  142. </thead>
  143. <tbody>
  144. <tr>
  145. <td><span class="parametername">TRequest</span></td>
  146. <td><p>Request message type for this invocation.</p>
  147. </td>
  148. </tr>
  149. <tr>
  150. <td><span class="parametername">TResponse</span></td>
  151. <td><p>Response message type for this invocation.</p>
  152. </td>
  153. </tr>
  154. </tbody>
  155. </table>
  156. </article>
  157. </div>
  158. <div class="hidden-sm col-md-2" role="complementary">
  159. <div class="sideaffix">
  160. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  161. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  162. </nav>
  163. </div>
  164. </div>
  165. </div>
  166. </div>
  167. <footer>
  168. <div class="grad-bottom"></div>
  169. <div class="footer">
  170. <div class="container">
  171. <span class="pull-right">
  172. <a href="#top">Back to top</a>
  173. </span>
  174. <span>Generated by <strong>DocFX</strong></span>
  175. </div>
  176. </div>
  177. </footer>
  178. </div>
  179. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  180. <script type="text/javascript" src="../styles/docfx.js"></script>
  181. <script type="text/javascript" src="../styles/main.js"></script>
  182. </body>
  183. </html>