Grpc.AspNetCore.Server.GrpcServiceOptions-1.html 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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>Class GrpcServiceOptions&lt;TService&gt;
  8. | gRPC for .NET </title>
  9. <meta name="viewport" content="width=device-width">
  10. <meta name="title" content="Class GrpcServiceOptions&lt;TService&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.AspNetCore.Server.GrpcServiceOptions`1">
  73. <h1 id="Grpc_AspNetCore_Server_GrpcServiceOptions_1" data-uid="Grpc.AspNetCore.Server.GrpcServiceOptions`1" class="text-break">Class GrpcServiceOptions&lt;TService&gt;
  74. </h1>
  75. <div class="markdown level0 summary"><p>Options used to configure the specified service type instances. These options override globally set options.</p>
  76. </div>
  77. <div class="markdown level0 conceptual"></div>
  78. <div class="inheritance">
  79. <h5>Inheritance</h5>
  80. <div class="level0"><span class="xref">System.Object</span></div>
  81. <div class="level1"><a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html">GrpcServiceOptions</a></div>
  82. <div class="level2"><span class="xref">GrpcServiceOptions&lt;TService&gt;</span></div>
  83. </div>
  84. <div class="inheritedMembers">
  85. <h5>Inherited Members</h5>
  86. <div>
  87. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_MaxSendMessageSize">GrpcServiceOptions.MaxSendMessageSize</a>
  88. </div>
  89. <div>
  90. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_MaxReceiveMessageSize">GrpcServiceOptions.MaxReceiveMessageSize</a>
  91. </div>
  92. <div>
  93. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_EnableDetailedErrors">GrpcServiceOptions.EnableDetailedErrors</a>
  94. </div>
  95. <div>
  96. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_ResponseCompressionAlgorithm">GrpcServiceOptions.ResponseCompressionAlgorithm</a>
  97. </div>
  98. <div>
  99. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_ResponseCompressionLevel">GrpcServiceOptions.ResponseCompressionLevel</a>
  100. </div>
  101. <div>
  102. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_CompressionProviders">GrpcServiceOptions.CompressionProviders</a>
  103. </div>
  104. <div>
  105. <a class="xref" href="Grpc.AspNetCore.Server.GrpcServiceOptions.html#Grpc_AspNetCore_Server_GrpcServiceOptions_Interceptors">GrpcServiceOptions.Interceptors</a>
  106. </div>
  107. </div>
  108. <h6><strong>Namespace</strong>: <a class="xref" href="Grpc.AspNetCore.Server.html">Grpc.AspNetCore.Server</a></h6>
  109. <h6><strong>Assembly</strong>: Grpc.AspNetCore.Server.dll</h6>
  110. <h5 id="Grpc_AspNetCore_Server_GrpcServiceOptions_1_syntax">Syntax</h5>
  111. <div class="codewrapper">
  112. <pre><code class="lang-csharp hljs">public class GrpcServiceOptions&lt;TService&gt; : GrpcServiceOptions where TService : class</code></pre>
  113. </div>
  114. <h5 class="typeParameters">Type Parameters</h5>
  115. <table class="table table-bordered table-striped table-condensed">
  116. <thead>
  117. <tr>
  118. <th>Name</th>
  119. <th>Description</th>
  120. </tr>
  121. </thead>
  122. <tbody>
  123. <tr>
  124. <td><span class="parametername">TService</span></td>
  125. <td><p>The service type to configure.</p>
  126. </td>
  127. </tr>
  128. </tbody>
  129. </table>
  130. </article>
  131. </div>
  132. <div class="hidden-sm col-md-2" role="complementary">
  133. <div class="sideaffix">
  134. <nav class="bs-docs-sidebar hidden-print hidden-xs hidden-sm affix" id="affix">
  135. <!-- <p><a class="back-to-top" href="#top">Back to top</a><p> -->
  136. </nav>
  137. </div>
  138. </div>
  139. </div>
  140. </div>
  141. <footer>
  142. <div class="grad-bottom"></div>
  143. <div class="footer">
  144. <div class="container">
  145. <span class="pull-right">
  146. <a href="#top">Back to top</a>
  147. </span>
  148. <span>Generated by <strong>DocFX</strong></span>
  149. </div>
  150. </div>
  151. </footer>
  152. </div>
  153. <script type="text/javascript" src="../styles/docfx.vendor.js"></script>
  154. <script type="text/javascript" src="../styles/docfx.js"></script>
  155. <script type="text/javascript" src="../styles/main.js"></script>
  156. </body>
  157. </html>