Grpc.Core.Interceptors.html 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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>Namespace Grpc.Core.Interceptors
  8. | gRPC C# </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Namespace Grpc.Core.Interceptors
  11. | gRPC C# ">
  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. <script type="text/javascript"> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-60127042-1', 'auto'); ga('send', 'pageview'); </script> </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">
  73. <h1 id="Grpc_Core_Interceptors" data-uid="Grpc.Core.Interceptors" class="text-break">Namespace Grpc.Core.Interceptors
  74. </h1>
  75. <div class="markdown level0 summary"></div>
  76. <div class="markdown level0 conceptual"></div>
  77. <div class="markdown level0 remarks"></div>
  78. <h3 id="classes">Classes
  79. </h3>
  80. <h4><a class="xref" href="Grpc.Core.Interceptors.CallInvokerExtensions.html">CallInvokerExtensions</a></h4>
  81. <section><p>Extends the CallInvoker class to provide the interceptor facility on the client side.
  82. This is an EXPERIMENTAL API.</p>
  83. </section>
  84. <h4><a class="xref" href="Grpc.Core.Interceptors.ChannelExtensions.html">ChannelExtensions</a></h4>
  85. <section><p>Provides extension methods to make it easy to register interceptors on Channel objects.
  86. This is an EXPERIMENTAL API.</p>
  87. </section>
  88. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.html">Interceptor</a></h4>
  89. <section><p>Serves as the base class for gRPC interceptors.
  90. This is an EXPERIMENTAL API.</p>
  91. </section>
  92. <h4><a class="xref" href="Grpc.Core.Interceptors.ServerServiceDefinitionExtensions.html">ServerServiceDefinitionExtensions</a></h4>
  93. <section><p>Extends the ServerServiceDefinition class to add methods used to register interceptors on the server side.
  94. This is an EXPERIMENTAL API.</p>
  95. </section>
  96. <h3 id="structs">Structs
  97. </h3>
  98. <h4><a class="xref" href="Grpc.Core.Interceptors.ClientInterceptorContext-2.html">ClientInterceptorContext&lt;TRequest, TResponse&gt;</a></h4>
  99. <section><p>Carries along the context associated with intercepted invocations on the client side.
  100. This is an EXPERIMENTAL API.</p>
  101. </section>
  102. <h3 id="delegates">Delegates
  103. </h3>
  104. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.AsyncClientStreamingCallContinuation-2.html">Interceptor.AsyncClientStreamingCallContinuation&lt;TRequest, TResponse&gt;</a></h4>
  105. <section><p>Represents a continuation for intercepting asynchronous client-streaming invocations.
  106. A delegate of this type is passed to the AsyncClientStreamingCall method
  107. when an outgoing invocation is being intercepted and calling the
  108. delegate will invoke the next interceptor in the chain, or the underlying
  109. call invoker if called from the last interceptor. The interceptor is
  110. allowed to call it zero, one, or multiple times, passing it the appropriate
  111. request value and context as it sees fit.</p>
  112. </section>
  113. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.AsyncDuplexStreamingCallContinuation-2.html">Interceptor.AsyncDuplexStreamingCallContinuation&lt;TRequest, TResponse&gt;</a></h4>
  114. <section><p>Represents a continuation for intercepting asynchronous duplex invocations.
  115. A delegate of this type is passed to the AsyncDuplexStreamingCall method
  116. when an outgoing invocation is being intercepted and calling the
  117. delegate will invoke the next interceptor in the chain, or the underlying
  118. call invoker if called from the last interceptor. The interceptor is
  119. allowed to call it zero, one, or multiple times, passing it the appropriate
  120. request value and context as it sees fit.</p>
  121. </section>
  122. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.AsyncServerStreamingCallContinuation-2.html">Interceptor.AsyncServerStreamingCallContinuation&lt;TRequest, TResponse&gt;</a></h4>
  123. <section><p>Represents a continuation for intercepting asynchronous server-streaming invocations.
  124. A delegate of this type is passed to the AsyncServerStreamingCall method
  125. when an outgoing invocation is being intercepted and calling the
  126. delegate will invoke the next interceptor in the chain, or the underlying
  127. call invoker if called from the last interceptor. The interceptor is
  128. allowed to call it zero, one, or multiple times, passing it the appropriate
  129. request value and context as it sees fit.</p>
  130. </section>
  131. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.AsyncUnaryCallContinuation-2.html">Interceptor.AsyncUnaryCallContinuation&lt;TRequest, TResponse&gt;</a></h4>
  132. <section><p>Represents a continuation for intercepting simple asynchronous invocations.
  133. A delegate of this type is passed to the AsyncUnaryCall method
  134. when an outgoing invocation is being intercepted and calling the
  135. delegate will invoke the next interceptor in the chain, or the underlying
  136. call invoker if called from the last interceptor. The interceptor is
  137. allowed to call it zero, one, or multiple times, passing it the appropriate
  138. request value and context as it sees fit.</p>
  139. </section>
  140. <h4><a class="xref" href="Grpc.Core.Interceptors.Interceptor.BlockingUnaryCallContinuation-2.html">Interceptor.BlockingUnaryCallContinuation&lt;TRequest, TResponse&gt;</a></h4>
  141. <section><p>Represents a continuation for intercepting simple blocking invocations.
  142. A delegate of this type is passed to the BlockingUnaryCall method
  143. when an outgoing invocation is being intercepted and calling the
  144. delegate will invoke the next interceptor in the chain, or the underlying
  145. call invoker if called from the last interceptor. The interceptor is
  146. allowed to call it zero, one, or multiple times, passing it the appropriate
  147. context and request values as it sees fit.</p>
  148. </section>
  149. </article>
  150. </div>
  151. <div class="hidden-sm col-md-2" role="complementary">
  152. <div class="sideaffix">
  153. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  154. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  155. </nav>
  156. </div>
  157. </div>
  158. </div>
  159. </div>
  160. <footer>
  161. <div class="grad-bottom"></div>
  162. <div class="footer">
  163. <div class="container">
  164. <span class="pull-right">
  165. <a href="#top">Back to top</a>
  166. </span>
  167. <span>Generated by <strong>DocFX</strong></span>
  168. </div>
  169. </div>
  170. </footer>
  171. </div>
  172. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  173. <script type="text/javascript" src="../styles/docfx.js"></script>
  174. <script type="text/javascript" src="../styles/main.js"></script>
  175. </body>
  176. </html>